From: Alex Deucher Date: Tue, 11 Mar 2025 19:53:55 +0000 (-0400) Subject: drm/amdgpu/pm: enable vcn busy sysfs for GC 12.x X-Git-Tag: v6.15-rc1~120^2~2^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b3922222cea2d1e95a72994bd79abd02e0f3f5e;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Kenneth Feng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index c1f5ef7384b42..74e75585a43b8 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c @@ -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 */