projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9c7ab
)
drm/amdgpu: add GFX Power Gating support for GC IP v11.0.1
author
Tim Huang
<tim.huang@amd.com>
Fri, 29 Jul 2022 07:25:57 +0000
(15:25 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 10 Aug 2022 19:41:23 +0000
(15:41 -0400)
Add AMD_PG_SUPPORT_GFX_PG support.
Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
index b700c6cb14b48a6c645dd27853f6952c3044813b..bbbf760f8ad2b7c5fe4ccc230c582b9187ac5fef 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc21.c
@@
-595,6
+595,7
@@
static int soc21_common_early_init(void *handle)
AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags =
+ AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_JPEG;
adev->external_rev_id = adev->rev_id + 0x1;
break;