drm/radeon/kms: add info query for max pipes
authorTom Stellard <tstellar@gmail.com>
Tue, 20 Mar 2012 21:17:55 +0000 (17:17 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Mar 2012 06:55:49 +0000 (06:55 +0000)
commit609c1e15a44c25f722fb93e18668da30179a172f
tree4fb8f7faf5d5bb5e7df05b4fd04d4028ba702152
parentda0df92b57311aa1b26a2a90599ed16e1e968b90
drm/radeon/kms: add info query for max pipes

The maximum number of pipes is needed by the user space compute
driver to calculate the number of wavefronts per thread group.

Signed-off-by: Tom Stellard <thomas.stellard@amd.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