]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/vce: Prevent partial address patches
authorBenjamin Cheng <benjamin.cheng@amd.com>
Mon, 30 Mar 2026 19:01:27 +0000 (15:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 May 2026 15:16:30 +0000 (17:16 +0200)
commitea2c554e700b86a04534b4c24ece5844e8c5f07e
tree8454f785cd60a579803fd3864c7dfe022bc6c22e
parent5c3e8ebad0c9e2354ddfa8f2148dc4f70a3b4bd1
drm/amdgpu/vce: Prevent partial address patches

commit de2a02cc28d6d5d37db07d00a9a684c754a5fd74 upstream.

In the case that only one of lo/hi is valid, the patching could result
in a bad address written to in FW.

Signed-off-by: Benjamin Cheng <benjamin.cheng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c