Skip to content

Commit ab7a11b

Browse files
aaliuamdalexdeucher
authored andcommitted
drm/amdgpu: update yellow carp external rev_id handling
0x1681 has a different external revision id. Signed-off-by: Aaron Liu <aaron.liu@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 6588b10 commit ab7a11b

File tree

1 file changed

+4
-1
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,10 @@ static int nv_common_early_init(void *handle)
12361236
AMD_PG_SUPPORT_VCN |
12371237
AMD_PG_SUPPORT_VCN_DPG |
12381238
AMD_PG_SUPPORT_JPEG;
1239-
adev->external_rev_id = adev->rev_id + 0x01;
1239+
if (adev->pdev->device == 0x1681)
1240+
adev->external_rev_id = adev->rev_id + 0x19;
1241+
else
1242+
adev->external_rev_id = adev->rev_id + 0x01;
12401243
break;
12411244
default:
12421245
/* FIXME: not supported yet */

0 commit comments

Comments
 (0)