[RFC PATCH 0/2] drm/amdgpu: CIK UVD initialization fixes
John Olender
john.olender at gmail.com
Tue Apr 29 11:24:27 UTC 2025
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
--
2.47.2
More information about the amd-gfx
mailing list