]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/radeon: fix buffer placement under memory pressure v2
authorChristian König <christian.koenig@amd.com>
Sat, 10 May 2014 16:17:09 +0000 (18:17 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 20 May 2014 12:42:02 +0000 (14:42 +0200)
commit4b09556660bfe1b43d72ca858524c6baf2c6cb1d
treeb3a1f63178192d7098eafd06042d49b46898eae1
parent4906f6891ef987637b766dfaef1c6fc95804253a
drm/radeon: fix buffer placement under memory pressure v2

Some buffers (UVD/VM page tables) must be placed in VRAM,
but the byte restriction for moving buffers didn't took this
into account.

v2: keep closer to the original code

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
drivers/gpu/drm/radeon/radeon_object.c