]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/nbio7.11: fix IP version check
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Dec 2024 22:00:07 +0000 (17:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:12 +0000 (14:02 +0100)
commitd887a3b08ad9d7c812e20485c65cd35b4fdf5f3a
tree41fb9821b40d71919130ced3eedeb5ea68f719da
parent1828714c091bf0484046a2bb3bb4b5617064474b
drm/amdgpu/nbio7.11: fix IP version check

commit 8c1ecc7197a88c6ae62de56e1c0887f220712a32 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 2c8eeaaa0fe5841ccf07a0eb51b1426f34ef39f7)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/nbio_v7_11.c