]> 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)
commitddd198e32f190e0b5f1a44dd83a8978c81311626
tree762334d2e03ea934772c464078eb408dcb9ca7e3
parent636cd067a83437a97d970420a70226a8710433be
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