: fix miss to create mca debugfs node issue
Use amdgpu_ip_version() helper function to check ip version.
The ip verison contains other information, use the helper function to avoid
reading wrong value.
Signed-off-by: Yang Wang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | 2 +-
1 file changed, 1
[AMD Official Use Only - General]
-Original Message-
From: Lazar, Lijo
Sent: Thursday, November 30, 2023 1:13 PM
To: Wang, Yang(Kevin) ; amd-gfx@lists.freedesktop.org
Cc: Zhang, Hawking
Subject: Re: [PATCH] drm/amdgpu: fix miss to create mca debugfs node issue
On 11/30/2023 10:39 AM
On 11/30/2023 10:39 AM, Yang Wang wrote:
Use amdgpu_ip_version() helper function to check ip version.
The ip verison contains other information,
use the helper function to avoid reading wrong value.
Signed-off-by: Yang Wang
May refine the subject to "Fix missing mca debugfs node"
Use amdgpu_ip_version() helper function to check ip version.
The ip verison contains other information,
use the helper function to avoid reading wrong value.
Signed-off-by: Yang Wang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/