summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smc.c
diff options
context:
space:
mode:
authorNicolai Hähnle2017-02-16 23:49:12 +0100
committerAlex Deucher2017-02-21 23:16:28 +0100
commit4694335dad7357e9b3d7822ab13049014d74d8b0 (patch)
tree7285b01bac2477e0711af9a834e2f2ee118d61d2 /drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smc.c
parentdrm/ttm: fix use-after-free races in vm fault handling (diff)
downloadkernel-qcow2-linux-4694335dad7357e9b3d7822ab13049014d74d8b0.tar.gz
kernel-qcow2-linux-4694335dad7357e9b3d7822ab13049014d74d8b0.tar.xz
kernel-qcow2-linux-4694335dad7357e9b3d7822ab13049014d74d8b0.zip
drm/amdgpu: refuse to reserve io mem for split VRAM buffers
When the fast blit path fails while attempting to move a buffer from RAM to VRAM, we fall back to a CPU-based memcpy that cannot handle split VRAM buffers. Instead of crashing, simply fail the buffer move. Ideally, we would teach TTM about split buffers so that the fallback still works in this case, but that is quite involved. So for now, apply the simplest possible fix. Fixes: 40361bb1704b ("drm/amdgpu: add VRAM manager v2") Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smc.c')
0 files changed, 0 insertions, 0 deletions