]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vce1: Don't repeat GTT MGR node allocation
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 13 May 2026 20:04:12 +0000 (22:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 16:10:37 +0000 (12:10 -0400)
commit3ebcab11320588fd9bb17a26027dddce4419ae43
tree6f38503d07fe7fb2cde6dae0dd37aaa64ad1100b
parent12b60cf345e84aa7546dd225b3ce3380c9ab97f5
drm/amdgpu/vce1: Don't repeat GTT MGR node allocation

Only allocate entries from the GTT manager when the
VCE GTT node is not allocated yet. This prevents the
possibility of allocating them multiple times, which
causes issues during GPU reset and suspend/resume.

Fixes: 71aec08f80e7 ("amdgpu/vce: use amdgpu_gtt_mgr_alloc_entries")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8d2a20c1721cb17e22821e1b4ecbb02d475d91c5)
drivers/gpu/drm/amd/amdgpu/vce_v1_0.c