summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_cs.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-09-23 09:42:32 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-09-23 11:00:12 -0400
commit4b40e5921230beb1951f04d2b1b92c4c88fbad43 (patch)
tree1cf9204fee5306f2f3ce430ff5e8d5c400ffd7dd /drivers/gpu/drm/radeon/radeon_cs.c
parent4a1132a023eb48cf10522d84c5908d43b612c041 (diff)
downloadlinux-stable-4b40e5921230beb1951f04d2b1b92c4c88fbad43.tar.gz
linux-stable-4b40e5921230beb1951f04d2b1b92c4c88fbad43.tar.bz2
linux-stable-4b40e5921230beb1951f04d2b1b92c4c88fbad43.zip
drm/radeon/uvd: lower msg&fb buffer requirements on UVD3
Starting with UVD3 message and feedback buffers have their own 256MB segment, so no need to force them into VRAM any more. Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cs.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_cs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c
index 80285e35bc65..66c222836631 100644
--- a/drivers/gpu/drm/radeon/radeon_cs.c
+++ b/drivers/gpu/drm/radeon/radeon_cs.c
@@ -85,8 +85,9 @@ static int radeon_cs_parser_relocs(struct radeon_cs_parser *p)
VRAM, also but everything into VRAM on AGP cards to avoid
image corruptions */
if (p->ring == R600_RING_TYPE_UVD_INDEX &&
+ p->rdev->family < CHIP_PALM &&
(i == 0 || drm_pci_device_is_agp(p->rdev->ddev))) {
- /* TODO: is this still needed for NI+ ? */
+
p->relocs[i].lobj.domain =
RADEON_GEM_DOMAIN_VRAM;