diff options
author | Christian König <christian.koenig@amd.com> | 2013-09-23 09:42:32 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-09-23 11:00:12 -0400 |
commit | 4b40e5921230beb1951f04d2b1b92c4c88fbad43 (patch) | |
tree | 1cf9204fee5306f2f3ce430ff5e8d5c400ffd7dd /drivers/gpu/drm/radeon/radeon_cs.c | |
parent | 4a1132a023eb48cf10522d84c5908d43b612c041 (diff) | |
download | linux-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.c | 3 |
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; |