drm/amdgpu: handle polaris10/11 overlap asics (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Nov 2022 20:52:19 +0000 (15:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2023 10:12:03 +0000 (11:12 +0100)
commit9724e6950ef902abd6abc5b5dfacca4b5125ba75
treed917bfa58e68d3dbc55cd27c17a973fbfc44497d
parent3038224f5617bb4628170b29661645138f884292
drm/amdgpu: handle polaris10/11 overlap asics (v2)

commit 1d4624cd72b912b2680c08d0be48338a1629a858 upstream.

Some special polaris 10 chips overlap with the polaris11
DID range.  Handle this properly in the driver.

v2: use local flags for other function calls.

Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c