Skip to content

RFC drm/amdgpu: CIK UVD initialization fixes

John Olender amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vramdrivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c+1 -111 replies
2/2drm/amdgpu/uvd: Ensure vcpu bos are within the uvd segmentdrivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c+21 -1514 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlex DeucherArunpravin Paneer Selvam
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/2] drm/amdgpu: CIK UVD initialization fixes

This patchset addresses two issues affecting UVD initialization on CIK hardware:

* Patch #1 fixes init with <256M vram:
(https://gitlab.freedesktop.org/drm/amd/-/issues/3448)

* Patch #2 fixes init with >256M vram:
(https://gitlab.freedesktop.org/drm/amd/-/issues/3851)
Includes a whitespace fix for the version on the issue tracker.

[Request for Testing]

Patch #2 tries to preserve the existing vcpu bo allocation behavior for UVD 5.0+. However, I don't have any UVD 5.0+ hardware available for regression testing.

If someone with a GCN3-5 card can confirm this patchset does not break UVD 5.0+ init, it'd be greatly appreciated.

John Olender (2):
drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram drm/amdgpu/uvd: Ensure vcpu bos are within the uvd segment

 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c      | 36 ++++++++++++--------
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c |  2 +-
 2 files changed, 22 insertions(+), 16 deletions(-)

base-commit: 092f0316dd74beba6685b5c65ff7d25c4870e842

Signature · 1 line
2.47.2