drm/amdgpu: set gfx9 onwards APU atomics support to be true
authorYifan Zhang <yifan1.zhang@amd.com>
Thu, 27 Apr 2023 06:01:05 +0000 (14:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:29:48 +0000 (09:29 -0400)
commit0e768043bf68dc9713de34780363c595e54af7fa
tree0b17d1aefeb8d38805e21b6b1813ebe4c6c8f007
parent09d8a67912462a07cb7ff40956ed8c79b1c74564
drm/amdgpu: set gfx9 onwards APU atomics support to be true

APUs w/ gfx9 onwards doesn't reply on PCIe atomics, rather
it is internal path w/ native atomic support. Set have_atomics_support
to true.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Lang Yu <lang.yu@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c