diff options
author | 2025-03-11 15:53:55 -0400 | |
---|---|---|
committer | 2025-03-13 23:12:35 -0400 | |
commit | 5b3922222cea2d1e95a72994bd79abd02e0f3f5e (patch) | |
tree | 9a795ecdcc21b4cb58cf94a1e9ddcda06b5ba8e9 | |
parent | drm/amdkfd: Fix instruction hazard in gfx12 trap handler (diff) | |
download | wireguard-linux-5b3922222cea2d1e95a72994bd79abd02e0f3f5e.tar.xz wireguard-linux-5b3922222cea2d1e95a72994bd79abd02e0f3f5e.zip |
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>
-rw-r--r-- | drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index c1f5ef7384b4..74e75585a43b 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 */ |