Make it visible for the all GC 12.x chips that support it.

Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c 
b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index bb39e7f83341b..c5abf4eacbfcd 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 */
-- 
2.48.1

Reply via email to