summaryrefslogtreecommitdiff
path: root/uxa/uxa.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-10 15:35:20 -0800
committerEric Anholt <eric@anholt.net>2009-02-10 15:35:20 -0800
commit5212ec6515c6562f66b86fc16928b601bf04e49b (patch)
tree576328595abb84a842691f5560429276b0ce5f0f /uxa/uxa.c
parent3aa8591abfbe8db0f13912910c850fdd748808df (diff)
uxa: hook up the fallback debug to the driver's fallback debug option.
Diffstat (limited to 'uxa/uxa.c')
-rw-r--r--uxa/uxa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/uxa/uxa.c b/uxa/uxa.c
index 4aeb5e47..0de408c7 100644
--- a/uxa/uxa.c
+++ b/uxa/uxa.c
@@ -346,6 +346,14 @@ uxa_xorg_enable_disable_fb_access (int index, Bool enable)
uxa_screen->SavedEnableDisableFBAccess(index, enable);
}
+void
+uxa_set_fallback_debug (ScreenPtr screen, Bool enable)
+{
+ uxa_screen_t *uxa_screen = uxa_get_screen(screen);
+
+ uxa_screen->fallback_debug = enable;
+}
+
/**
* uxa_close_screen() unwraps its wrapped screen functions and tears down UXA's
* screen private, before calling down to the next CloseSccreen.