]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix buffer placement under memory pressure
authorChristian König <christian.koenig@amd.com>
Wed, 2 Sep 2015 18:25:48 +0000 (20:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Sep 2015 18:30:49 +0000 (14:30 -0400)
commit39dfb8caf6f2b594b9d6120f69b11aa5fb5410f0
tree711237ca9c0f6c2f00c2098313c6fea496402a73
parente67ee0e18bb35f79787a130daf756db7f098f294
drm/amdgpu: fix buffer placement under memory pressure

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

Port of radeon commit febbd2dd27dcd9f1bd7a45c8560e151fe687e521.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c