diff options
author | Hawking Zhang <[email protected]> | 2022-10-23 20:27:59 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-06-09 09:48:17 -0400 |
commit | 57a83b2dafff055698190d3fe3d7197c969c2dcc (patch) | |
tree | d76792475796da009b18ba46941764557aa7632c | |
parent | 870d1e5afca58261a147e9080abb8cc75fccb849 (diff) |
drm/amdgpu: init gfx_v9_4_3 external_rev_id
it is used for user space driver to identify gfx_v9_4_3 chip
Signed-off-by: Hawking Zhang <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Le Ma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 206013d276c1..06a18b2f6e04 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1127,6 +1127,7 @@ static int soc15_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 + 0x46; break; default: /* FIXME: not supported yet */ |