aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorSamuel Li <samuel.li@amd.com>2013-04-08 17:25:47 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-04-09 10:31:31 -0400
commita0a53aa8c7b491a43e2ef66786f9511bae8cbc35 (patch)
treeba99c19682038634fece39989fef348baaebab1b /include/uapi
parent7c1c7c18fc752b2a1d07597286467ef186312463 (diff)
drm/radeon: Use direct mapping for fast fb access on RS690
This patch allows the CPU to map the stolen vram segment directly rather than going through the PCI BAR. This significantly improves performance for certain workloads with a properly patched ddx. Use radeon.fastfb=1 to enable it (disabled by default). Currently only supported on RS690, but support for RS780/880 and newer APUs may be added eventually. Signed-off-by: Samuel Li <samuel.li@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/radeon_drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index eeda91774c8a..6fd25563f301 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -972,6 +972,9 @@ struct drm_radeon_cs {
972#define RADEON_INFO_MAX_SE 0x12 972#define RADEON_INFO_MAX_SE 0x12
973/* max SH per SE */ 973/* max SH per SE */
974#define RADEON_INFO_MAX_SH_PER_SE 0x13 974#define RADEON_INFO_MAX_SH_PER_SE 0x13
975/* fast fb access is enabled */
976#define RADEON_INFO_FASTFB_WORKING 0x14
977
975 978
976struct drm_radeon_info { 979struct drm_radeon_info {
977 uint32_t request; 980 uint32_t request;