]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon: add new INFO ioctl requests
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Dec 2012 17:55:37 +0000 (12:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 8 Dec 2012 00:48:22 +0000 (19:48 -0500)
commit2e1a7674f65eb2c9118ab59d9c8aa9c731da6b85
tree6a4a881d05fe1cdb5a4d2781f7c91e8a8111c3dd
parenta02dc74b317d78298cb0587b9b1f6f741fd5c139
drm/radeon: add new INFO ioctl requests

Add requests to get the number of shader engines (SE) and
the number of SH per SE.  These are needed for geometry
and tesselation shaders in the 3D driver as well as setting
up PA_SC_RASTER_CONFIG on SI asics.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_kms.c
include/uapi/drm/radeon_drm.h