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:
5b39222
)
drm/amdgpu/pm: enable vcn busy sysfs for GC 9.3.0
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 11 Mar 2025 20:34:45 +0000
(16:34 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 14 Mar 2025 03:12:43 +0000
(23:12 -0400)
Make it visible for the all GC 9.3.0 chips that support it.
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index
74e7558
..
744a72f
100644
(file)
--- a/
drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/
drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@
-2314,7
+2314,8
@@
static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
gc_ver == IP_VERSION(9, 0, 1))
*states = ATTR_STATE_UNSUPPORTED;
} else if (DEVICE_ATTR_IS(vcn_busy_percent)) {
- if (!(gc_ver == IP_VERSION(10, 3, 1) ||
+ if (!(gc_ver == IP_VERSION(9, 3, 0) ||
+ gc_ver == IP_VERSION(10, 3, 1) ||
gc_ver == IP_VERSION(10, 3, 3) ||
gc_ver == IP_VERSION(10, 3, 6) ||
gc_ver == IP_VERSION(10, 3, 7) ||