Skip to content

Commit 15030ae

Browse files
committed
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 <lijo.lazar@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 5b39222 commit 15030ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/pm/amdgpu_pm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
23142314
gc_ver == IP_VERSION(9, 0, 1))
23152315
*states = ATTR_STATE_UNSUPPORTED;
23162316
} else if (DEVICE_ATTR_IS(vcn_busy_percent)) {
2317-
if (!(gc_ver == IP_VERSION(10, 3, 1) ||
2317+
if (!(gc_ver == IP_VERSION(9, 3, 0) ||
2318+
gc_ver == IP_VERSION(10, 3, 1) ||
23182319
gc_ver == IP_VERSION(10, 3, 3) ||
23192320
gc_ver == IP_VERSION(10, 3, 6) ||
23202321
gc_ver == IP_VERSION(10, 3, 7) ||

0 commit comments

Comments
 (0)