diff options
| author | Bob Zhou <bobzhou2@amd.com> | 2026-08-19 14:23:49 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-25 18:14:53 -0400 |
| commit | 6760f5cb12d2366ddd58a2d8637f7583d73f596b (patch) | |
| tree | 10febf0fe83502c83716b5daf6a0d7b447e0d523 /scripts/const_structs.checkpatch | |
| parent | d36fbf82189319e9af564c93900d30e55e87e7e0 (diff) | |
| download | linux-6760f5cb12d2366ddd58a2d8637f7583d73f596b.tar.gz linux-6760f5cb12d2366ddd58a2d8637f7583d73f596b.zip | |
drm/amdgpu: avoid force-completing uninitialized UVD rings
uvd_v7_0_sw_init() does not initialize the UVD decode ring for an
SR-IOV VF. However, amdgpu_uvd_resume() unconditionally force-completes
the decode ring when restoring its fence sequence.
Skip fence completion when the fence driver is not initialized.
Fixes: 0a33b11d26c6 ("drm/amdgpu: mark force completed fences with -ECANCELED")
Cc: stable@vger.kernel.org
Signed-off-by: Bob Zhou <bobzhou2@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Acked-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
