diff options
author | Aaron Liu <aaron.liu@amd.com> | 2021-06-02 05:32:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-23 17:08:00 +0300 |
commit | e97c8d86773d14c8aced0b25f2a5063aefeb5dec (patch) | |
tree | 4807aea2426034a1be3e7c187cd6d7d7b9e925e7 /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | aff890288de2d818e4f83ec40c9315e2d735df07 (diff) | |
download | linux-e97c8d86773d14c8aced0b25f2a5063aefeb5dec.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 751c7b8b13e6..94d029dbf30d 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1236,7 +1236,10 @@ static int nv_common_early_init(void *handle) AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG | AMD_PG_SUPPORT_JPEG; - adev->external_rev_id = adev->rev_id + 0x01; + if (adev->pdev->device == 0x1681) + adev->external_rev_id = adev->rev_id + 0x19; + else + adev->external_rev_id = adev->rev_id + 0x01; break; default: /* FIXME: not supported yet */ |