]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: workaround pinning failure on low ram gpu
authorJerome Glisse <jglisse@redhat.com>
Tue, 12 Nov 2013 15:51:16 +0000 (10:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Nov 2013 20:29:33 +0000 (15:29 -0500)
commit2055f263160a7fa0e59339c1857c14756576d222
tree717bf1938ad3eba008d734246baa20b68fa5ab68
parent0af45fdd590036a8bc1ee06a88cb12bd527248c3
radeon: workaround pinning failure on low ram gpu

GPU with low amount of ram can fails at pinning new framebuffer before
unpinning old one. On such failure, retry with unpinning old one before
pinning new one allowing to work around the issue. This is somewhat
ugly but only affect those old GPU we care about.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_legacy_crtc.c