drm/radeon: add new getparam for number of backends.
authorDave Airlie <airlied@redhat.com>
Tue, 1 Mar 2011 04:32:27 +0000 (14:32 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Mar 2011 05:01:20 +0000 (15:01 +1000)
commit486af1896f3a4a388410215c5a2014b9d09a79f5
treebf3a29e4b2e9004ee80269944309fcfdf05abaa1
parent91132d6bb6481da7c8280905a5db424885c458d0
drm/radeon: add new getparam for number of backends.

This allows userspace to work out how many DBs there are
for conditional rendering to work.

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