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>
Thu, 12 Jan 2023 10:59:03 +0000 (11:59 +0100)
commit6363da2c854a826ff812f62a79ba6a78a5338cac
tree17122d65bfbf7f3ef0d80c3ad6263c6c9758b88c
parent2771c7a0eedc43e86cf69c355dc7f044a738bc69
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