summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-06-23 11:06:42 -0700
committerCorbin Simpson <[email protected]>2010-06-23 11:06:42 -0700
commit95263058349060fcba9f59a866eb30b4656c33a5 (patch)
treefa573b5d178548107882c81dfb852d6b070dc418 /src/gallium/drivers
parent64682da8ab7aff7b4ce651db99a32ed1fd8b178c (diff)
glhd: Use an environment variable (GALAHAD) to enable. Off by default.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/galahad/glhd_drm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/galahad/glhd_drm.c b/src/gallium/drivers/galahad/glhd_drm.c
index 78e290c9a84..d62f6f4f7bc 100644
--- a/src/gallium/drivers/galahad/glhd_drm.c
+++ b/src/gallium/drivers/galahad/glhd_drm.c
@@ -75,6 +75,9 @@ galahad_drm_create(struct drm_api *api)
if (!api)
goto error;
+ if (!debug_get_option("GALAHAD", FALSE))
+ goto error;
+
glhd_api = CALLOC_STRUCT(galahad_drm_api);
if (!glhd_api)