drm/radeon/kms: add query for crtc hw id from crtc id to get info V2
authorJerome Glisse <jglisse@redhat.com>
Wed, 12 May 2010 16:01:13 +0000 (18:01 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 05:59:08 +0000 (15:59 +1000)
commitbc35afdb182d4c48c889fe27ba7a5d7ea0c8194d
tree0e8f87e31a8a979a9c1a3090f9bf9d906981afa6
parent61dd98fad58f945ed720ba132681acb58fcee015
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>
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_kms.c
include/drm/radeon_drm.h