]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/radeon/kms: fix RADEON_INFO_CRTC_FROM_ID info ioctl
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 21 Jul 2010 18:05:35 +0000 (14:05 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 22 Jul 2010 00:03:55 +0000 (10:03 +1000)
commit0baf2d8fe43fdd81faa30e65ff71785c99c78520
tree3c174354e13c523c8e549e8ec0fcec7f4f7746c7
parentd667865114d10723f4d22cc5b7bf2c743d1f2198
drm/radeon/kms: fix RADEON_INFO_CRTC_FROM_ID info ioctl

Return the crtc_id, not the counter value.  They are not
necessarily the same.

Cc: Jerome Glisse <glisse@freedesktop.org>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_kms.c