]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/nbio7.0: fix IP version check
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Dec 2024 21:49:20 +0000 (16:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:14 +0000 (14:02 +0100)
commit5c923087adc7a5cdf8769148c46beca5e58bd683
treeece94aa2197631b4ba9fc78edfea8e0e90c5cd86
parentf7d75bc2430fc737919426a0d2fd5c1ffa53353c
drm/amdgpu/nbio7.0: fix IP version check

commit 3abb660f9e18925468685591a3702bda05faba4f 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 0ec43fbece784215d3c4469973e4556d70bce915)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c