aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-drm.c')
-rw-r--r--src/gamma-drm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gamma-drm.c b/src/gamma-drm.c
index 798fc84..196b4dd 100644
--- a/src/gamma-drm.c
+++ b/src/gamma-drm.c
@@ -21,6 +21,13 @@
static int
+drm_is_available(void)
+{
+ return libgamma_is_method_available(LIBGAMMA_METHOD_LINUX_DRM);
+}
+
+
+static int
drm_create(struct gamma_state **state_out)
{
return direct_create(state_out, LIBGAMMA_METHOD_LINUX_DRM, "drm");