]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Power up UVD 3 for FW validation (v2)
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 28 Aug 2025 15:11:03 +0000 (17:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Sep 2025 19:54:03 +0000 (15:54 -0400)
commitc661219cd7be75bb5599b525f16a455a058eb516
tree7b9755621bcf6710199dbd7b807af29bd45427ac
parent85705b18ae7674347f8675f64b2b3115fb1d5629
drm/amdgpu: Power up UVD 3 for FW validation (v2)

Unlike later versions, UVD 3 has firmware validation.
For this to work, the UVD should be powered up correctly.

When DPM is enabled and the display clock is off,
the SMU may choose a power state which doesn't power
the UVD, which can result in failure to initialize UVD.

v2:
Add code comments to explain about the UVD power state
and how UVD clock is turned on/off.

Fixes: b38f3e80ecec ("drm amdgpu: SI UVD v3_1 (v2)")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c