summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-09-12 15:55:05 +1000
committerDave Airlie <airlied@redhat.com>2013-08-29 13:30:38 +1000
commit13bb9cc8726c716a7f271fc2c760ba15e1fdd38c (patch)
tree6b2d08a3316b7f5e76869c881a8b2544e5b76dd0 /include/drm
parent246efa4a072f3a2e03010ef0b78b0974ec69c377 (diff)
downloadop-kernel-dev-13bb9cc8726c716a7f271fc2c760ba15e1fdd38c.zip
op-kernel-dev-13bb9cc8726c716a7f271fc2c760ba15e1fdd38c.tar.gz
drm: allow open of dynamic off devices.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 90833dc..0e3d517 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1220,6 +1220,7 @@ struct drm_device {
#define DRM_SWITCH_POWER_ON 0
#define DRM_SWITCH_POWER_OFF 1
#define DRM_SWITCH_POWER_CHANGING 2
+#define DRM_SWITCH_POWER_DYNAMIC_OFF 3
static __inline__ int drm_core_check_feature(struct drm_device *dev,
int feature)
OpenPOWER on IntegriCloud