Skip to content

Commit 20e97e9

Browse files
Lijo Lazargregkh
authored andcommitted
drm/amdgpu: Update external revid for GC v9.5.0
commit 05c8b69 upstream. Use different external revid for GC v9.5.0 SOCs. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 21c6764) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fc647f6 commit 20e97e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/amdgpu/soc15.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,8 @@ static int soc15_common_early_init(void *handle)
11831183
AMD_PG_SUPPORT_JPEG;
11841184
/*TODO: need a new external_rev_id for GC 9.4.4? */
11851185
adev->external_rev_id = adev->rev_id + 0x46;
1186+
if (amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(9, 5, 0))
1187+
adev->external_rev_id = adev->rev_id + 0x50;
11861188
break;
11871189
default:
11881190
/* FIXME: not supported yet */

0 commit comments

Comments
 (0)