]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sdma5: do not execute 0-sized IBs (v2)
authorPelloux-prayer, Pierre-eric <Pierre-eric.Pelloux-prayer@amd.com>
Tue, 22 Oct 2019 17:22:11 +0000 (19:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:10 +0000 (16:50 -0400)
commit0068e81b2ca96511f46299ed8f8df7b1374355fd
treedc551772a98b1a261c32ebff540db9609d4a37a8
parent0ddcdd38766d21aec46164658565bf9ef8eb3e45
drm/amdgpu/sdma5: do not execute 0-sized IBs (v2)

This seems to help with https://bugs.freedesktop.org/show_bug.cgi?id=111481.

v2: insert a NOP instead of skipping all 0-sized IBs to avoid breaking older hw

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c