diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-05-12 12:01:13 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-18 01:59:08 -0400 |
commit | bc35afdb182d4c48c889fe27ba7a5d7ea0c8194d (patch) | |
tree | 0e8f87e31a8a979a9c1a3090f9bf9d906981afa6 /include/drm/radeon_drm.h | |
parent | 61dd98fad58f945ed720ba132681acb58fcee015 (diff) |
drm/radeon/kms: add query for crtc hw id from crtc id to get info V2
Userspace need to know the hw crtc id (0, 1, 2, ...) from the drm
crtc id. Bump the minor version so userspace can enable conditionaly
features depend on this.
V2 use num_crtc and avoid DRM_ERROR
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/radeon_drm.h')
-rw-r--r-- | include/drm/radeon_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 81e614bf2dc3..3ff9fc071dfe 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h | |||
@@ -902,6 +902,7 @@ struct drm_radeon_cs { | |||
902 | #define RADEON_INFO_NUM_GB_PIPES 0x01 | 902 | #define RADEON_INFO_NUM_GB_PIPES 0x01 |
903 | #define RADEON_INFO_NUM_Z_PIPES 0x02 | 903 | #define RADEON_INFO_NUM_Z_PIPES 0x02 |
904 | #define RADEON_INFO_ACCEL_WORKING 0x03 | 904 | #define RADEON_INFO_ACCEL_WORKING 0x03 |
905 | #define RADEON_INFO_CRTC_FROM_ID 0x04 | ||
905 | 906 | ||
906 | struct drm_radeon_info { | 907 | struct drm_radeon_info { |
907 | uint32_t request; | 908 | uint32_t request; |