diff options
author | Dave Airlie <airlied@redhat.com> | 2007-12-11 14:46:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-12-11 14:46:51 +1000 |
commit | 3b6786e3e6523b1ceca3645ea4c6081f170d2134 (patch) | |
tree | 79f84063a455489dd15517f80abe8fe1dda4aa3e /shared-core | |
parent | 9d064966d8495038921d0e731c0bfca0cd58d244 (diff) |
modesetting: add dpms property and initial settable property ioctl
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/drm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index 0c66f85c..df43802f 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -992,6 +992,12 @@ struct drm_mode_get_property { int count_enum_blobs; }; +struct drm_mode_output_set_property { + uint64_t value; + unsigned int prop_id; + unsigned int output_id; +}; + struct drm_mode_get_blob { uint32_t blob_id; uint32_t length; @@ -1112,6 +1118,7 @@ struct drm_mode_mode_cmd { #define DRM_IOCTL_MODE_RMFB DRM_IOWR(0xA5, unsigned int) #define DRM_IOCTL_MODE_GETFB DRM_IOWR(0xA6, struct drm_mode_fb_cmd) +#define DRM_IOCTL_MODE_SETPROPERTY DRM_IOWR(0xAB, struct drm_mode_set_output_property) #define DRM_IOCTL_MODE_GETPROPBLOB DRM_IOWR(0xA8, struct drm_mode_get_blob) #define DRM_IOCTL_MODE_ATTACHMODE DRM_IOWR(0xA9, struct drm_mode_mode_cmd) #define DRM_IOCTL_MODE_DETACHMODE DRM_IOWR(0xAA, struct drm_mode_mode_cmd) |