projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2531e5d
)
drm/amdgpu/jpeg5: enable power gating
author
Sonny Jiang
<sonny.jiang@amd.com>
Mon, 16 Oct 2023 20:49:53 +0000
(16:49 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 17 May 2024 21:10:56 +0000
(17:10 -0400)
Enable PG on JPEG5
Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc24.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc24.c
b/drivers/gpu/drm/amd/amdgpu/soc24.c
index
285d6af
..
3eb6574
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc24.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc24.c
@@
-398,7
+398,8
@@
static int soc24_common_early_init(void *handle)
switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
case IP_VERSION(12, 0, 0):
adev->cg_flags = 0;
- adev->pg_flags = 0;
+ adev->pg_flags = AMD_PG_SUPPORT_VCN |
+ AMD_PG_SUPPORT_JPEG;
adev->external_rev_id = adev->rev_id + 0x40;
break;
case IP_VERSION(12, 0, 1):