diff options
| author | Alex Deucher <[email protected]> | 2025-03-11 20:34:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-14 03:12:43 +0000 |
| commit | 15030aeec3934d32622f73909d54944c8cacf227 (patch) | |
| tree | 425606361553bb8f0c04184c0e6883c29a98f05d /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | drm/amdgpu/pm: enable vcn busy sysfs for GC 12.x (diff) | |
| download | kernel-15030aeec3934d32622f73909d54944c8cacf227.tar.gz kernel-15030aeec3934d32622f73909d54944c8cacf227.zip | |
drm/amdgpu/pm: enable vcn busy sysfs for GC 9.3.0
Make it visible for the all GC 9.3.0 chips that support it.
Reviewed-by: Lijo Lazar <[email protected]>
Reviewed-by: Kenneth Feng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/amdgpu_pm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 74e75585a43b..744a72f40dec 100644 --- 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) || |
