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>
Thu, 11 May 2023 05:04:50 +0000 (01:04 -0400)
commitaf7828fbceed4f9e503034111066a0adef3db383
treeae8719fdfe9b2abc60a67207eef8bbd824769a0e
parent476ac50fc30540e29191615a26aaf5f9dee91c49
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