projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de7511a
)
drm/amdgpu: add common early init support for GC 9.4.3
author
Hawking Zhang
<Hawking.Zhang@amd.com>
Fri, 26 Nov 2021 09:20:32 +0000
(17:20 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 14 Apr 2023 17:47:49 +0000
(13:47 -0400)
init asic funcs and cp/pg flags for GC 9.4.3
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 0367a97c606b67f272107dabfd82be3abbd86e29..bc5dd80f10c1f42677fa3fec7166b4f08bfded45 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc15.c
@@
-1100,6
+1100,11
@@
static int soc15_common_early_init(void *handle)
adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
adev->external_rev_id = adev->rev_id + 0x3c;
break;
+ case IP_VERSION(9, 4, 3):
+ adev->asic_funcs = &vega20_asic_funcs;
+ adev->cg_flags = 0;
+ adev->pg_flags = 0;
+ break;
default:
/* FIXME: not supported yet */
return -EINVAL;