Skip to content

Commit 5b39222

Browse files
committed
drm/amdgpu/pm: enable vcn busy sysfs for GC 12.x
Make it visible for the all GC 12.x 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 7e0459d commit 5b39222

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2326,7 +2326,9 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
23262326
gc_ver == IP_VERSION(11, 5, 0) ||
23272327
gc_ver == IP_VERSION(11, 5, 1) ||
23282328
gc_ver == IP_VERSION(11, 5, 2) ||
2329-
gc_ver == IP_VERSION(11, 5, 3)))
2329+
gc_ver == IP_VERSION(11, 5, 3) ||
2330+
gc_ver == IP_VERSION(12, 0, 0) ||
2331+
gc_ver == IP_VERSION(12, 0, 1)))
23302332
*states = ATTR_STATE_UNSUPPORTED;
23312333
} else if (DEVICE_ATTR_IS(pcie_bw)) {
23322334
/* PCIe Perf counters won't work on APU nodes */

0 commit comments

Comments
 (0)