[PATCH 00/11] VCE1 fixes (v2)

Timur Kristóf
2026-04-23T01:16:20Z

Fix various small issues regarding VCE1
and the workaround to ensure the VCPU BO
has a low 32-bit address.

Also fix an issue around firmware size
and offsets on all VCE versions.

Timur Kristóf (11):
drm/amdgpu: Align amdgpu_gtt_mgr entries to TLB size on Tahiti
drm/amdgpu/vce1: Check that the GPU address is < 128 MiB
drm/amdgpu/vce1: Remove superfluous address check
drm/amdgpu/vce1: Check if VRAM address is lower than GART.
drm/amdgpu/vce1: Don't repeat GTT MGR node allocation
drm/amdgpu/vce1: Fix VCE 1 firmware size and offsets
drm/amdgpu/vce1: Stop using amdgpu_vce_resume
drm/amdgpu/vce: Check maximum ucode size in amdgpu_vce_resume()
drm/amdgpu/vce2: Fix VCE 2 firmware size and offsets
drm/amdgpu/vce3: Fix VCE 3 firmware size and offsets
drm/amdgpu/vce4: Fix VCE 4 firmware size and offsets

drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 9 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 2 +-
drivers/gpu/drm/amd/amdgpu/vce_v1_0.c | 64 +++++++++++++--------
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 6 +-
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 6 +-
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 6 +-
7 files changed, 61 insertions(+), 37 deletions(-)

--
2.53.0