drm/radeon: add query for number of active CUs
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Jun 2014 20:13:21 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jun 2014 02:06:55 +0000 (22:06 -0400)
commit65fcf668ee7f2de2fbd580e1297336045f1ef6f4
tree17064a99c2cf9b0e6d4baab83e654758edef4617
parent478b6e72721807953bc3513fc5895d5f007614e3
drm/radeon: add query for number of active CUs

Query to find out how many compute units on a GPU.
Useful for OpenCL usermode drivers.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/radeon/si.c
include/uapi/drm/radeon_drm.h