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)
commit18c6b74e7cfc9a599917d9e98f9835de8208e19a
tree762334d2e03ea934772c464078eb408dcb9ca7e3
parent269a0bf79b3346fbebe7f62aef516ce61c2f02d0
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