summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/udl/udl_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/udl/udl_proto.h')
-rw-r--r--drivers/gpu/drm/udl/udl_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/udl/udl_proto.h b/drivers/gpu/drm/udl/udl_proto.h
index 22bc1ae8420c..8e7d1a090644 100644
--- a/drivers/gpu/drm/udl/udl_proto.h
+++ b/drivers/gpu/drm/udl/udl_proto.h
@@ -31,4 +31,9 @@
#define UDL_BLANKMODE_HSYNC_OFF 0x05 /* hsync off, blanked */
#define UDL_BLANKMODE_POWERDOWN 0x07 /* powered off; requires modeset */
+/* Lock/unlock video registers */
+#define UDL_REG_VIDREG 0xff
+#define UDL_VIDREG_LOCK 0x00
+#define UDL_VIDREG_UNLOCK 0xff
+
#endif