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

These should be included in 7.1 because
that includes amdgpu_gtt_mgr_alloc_entries()
that exposed these bugs on VCE 1.

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

v3:
addressed review feedback,
dropped patches that were not reviewed

Timur Kristóf (9):
  drm/amdgpu: Align amdgpu_gtt_mgr entries to TLB size on Tahiti (v2)
  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/vce2: Fix VCE 2 firmware size and offsets
  drm/amdgpu/vce3: Fix VCE 3 firmware size and offsets

 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c |  9 ++-
 drivers/gpu/drm/amd/amdgpu/vce_v1_0.c       | 64 +++++++++++++--------
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c       |  9 ++-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c       |  2 +-
 4 files changed, 55 insertions(+), 29 deletions(-)

-- 
2.54.0

Reply via email to