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 /linux-core/drm_crtc.h | |
parent | 9d064966d8495038921d0e731c0bfca0cd58d244 (diff) |
modesetting: add dpms property and initial settable property ioctl
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r-- | linux-core/drm_crtc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h index 2c77d9d7..ad5ecc5d 100644 --- a/linux-core/drm_crtc.h +++ b/linux-core/drm_crtc.h @@ -242,8 +242,8 @@ struct drm_property_blob { }; struct drm_property_enum { - struct list_head head; uint64_t value; + struct list_head head; unsigned char name[DRM_PROP_NAME_LEN]; }; @@ -396,7 +396,7 @@ struct drm_output_funcs { enum drm_output_status (*detect)(struct drm_output *output); int (*get_modes)(struct drm_output *output); /* JJJ: type checking for properties via property value type */ - bool (*set_property)(struct drm_output *output, int prop, void *val); + bool (*set_property)(struct drm_output *output, int prop, uint64_t val); void (*cleanup)(struct drm_output *output); }; @@ -503,6 +503,7 @@ struct drm_mode_config { /* pointers to standard properties */ struct list_head property_blob_list; struct drm_property *edid_property; + struct drm_property *dpms_property; }; struct drm_output *drm_output_create(struct drm_device *dev, |