diff options
author | Marek Olšák <marek.olsak@amd.com> | 2013-12-22 02:18:01 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-12-23 10:03:43 -0500 |
commit | 439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3 (patch) | |
tree | 0c7fd49c562fffb10256ade2af353f3774fbaaa8 /include | |
parent | 9fadb352ed73edd7801a280b552d33a6040c8721 (diff) | |
download | linux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.tar.gz linux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.tar.bz2 linux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.zip |
drm/radeon: expose render backend mask to the userspace
This will allow userspace to correctly program the PA_SC_RASTER_CONFIG
register, so it can be considered a fix.
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/radeon_drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 2f3f7ea8c77b..fe421e8a431b 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/drm/radeon_drm.h @@ -983,6 +983,8 @@ struct drm_radeon_cs { #define RADEON_INFO_SI_CP_DMA_COMPUTE 0x17 /* CIK macrotile mode array */ #define RADEON_INFO_CIK_MACROTILE_MODE_ARRAY 0x18 +/* query the number of render backends */ +#define RADEON_INFO_SI_BACKEND_ENABLED_MASK 0x19 struct drm_radeon_info { |