]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amdgpu/pm: enable vcn busy sysfs for GC 12.x
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Mar 2025 19:53:55 +0000 (15:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Mar 2025 03:12:35 +0000 (23:12 -0400)
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>
drivers/gpu/drm/amd/pm/amdgpu_pm.c

index c1f5ef7384b42ea576d70443d7394ce1234a818f..74e75585a43b85343cdd0ae11519bc095d28142e 100644 (file)
@@ -2326,7 +2326,9 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
                      gc_ver == IP_VERSION(11, 5, 0) ||
                      gc_ver == IP_VERSION(11, 5, 1) ||
                      gc_ver == IP_VERSION(11, 5, 2) ||
-                     gc_ver == IP_VERSION(11, 5, 3)))
+                     gc_ver == IP_VERSION(11, 5, 3) ||
+                     gc_ver == IP_VERSION(12, 0, 0) ||
+                     gc_ver == IP_VERSION(12, 0, 1)))
                        *states = ATTR_STATE_UNSUPPORTED;
        } else if (DEVICE_ATTR_IS(pcie_bw)) {
                /* PCIe Perf counters won't work on APU nodes */