]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/gfx12: fix IP version check
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Dec 2024 22:04:58 +0000 (17:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:14 +0000 (14:02 +0100)
commitb2f23a1c7181f8c562ea06d3ea14879334d6bdf4
tree1c303e3516ed307bcf0164074ba7f15b98856252
parent5c923087adc7a5cdf8769148c46beca5e58bd683
drm/amdgpu/gfx12: fix IP version check

commit 41be00f839e9ee7753892a73a36ce4c14c6f5cbf upstream.

Use the helper function rather than reading it directly.

Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f1fd1d0f40272948aa6ab82a3a82ecbbc76dff53)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c