]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sdma5: do not execute 0-sized IBs (v2)
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 22 Oct 2019 17:22:11 +0000 (19:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:55:20 +0000 (11:55 -0400)
commit32236f24f287b00c59253ef0b30d9a5ca262385e
tree4ad53f4cebb4a179519a1d83d4cef8ca102630d5
parentb5cea10525ec3fc7c919144c08ffba2bd55ba62c
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