]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Enable DISABLE_BARRIER_WAITCNT for Arcturus
authorJoseph Greathouse <Joseph.Greathouse@amd.com>
Mon, 27 Jan 2020 22:08:11 +0000 (16:08 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jan 2020 22:15:27 +0000 (17:15 -0500)
commita0f2db6015fe55ca53a25294770c78920c8c215a
tree762334d2e03ea934772c464078eb408dcb9ca7e3
parentde1b62a636204e3f3a80fc675daaf837bb7673fb
drm/amdgpu: Enable DISABLE_BARRIER_WAITCNT for Arcturus

In previous gfx9 parts, S_BARRIER shader instructions are implicitly
S_WAITCNT 0 instructions as well. This setting turns off that
mechanism in Arcturus and beyond. With this, shaders must follow the
ISA guide insofar as putting in explicit S_WAITCNT operations even
after an S_BARRIER.

v2: Fix patch title to list component

Signed-off-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/include/asic_reg/gc/gc_9_0_sh_mask.h