aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2025-09-18 09:22:05 +0000
committerRodrigo Vivi <[email protected]>2025-09-22 16:13:18 +0000
commit77c8ede611c6a70a95f7b15648551d0121b40d6c (patch)
treea9ad4320407cdc20b8c326f964afc44d7f18c844 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parentdrm/xe: Fix build with CONFIG_MODULES=n (diff)
downloadkernel-77c8ede611c6a70a95f7b15648551d0121b40d6c.tar.gz
kernel-77c8ede611c6a70a95f7b15648551d0121b40d6c.zip
drm/xe: Don't copy pinned kernel bos twice on suspend
We were copying the bo content the bos on the list "xe->pinned.late.kernel_bo_present" twice on suspend. Presumingly the intent is to copy the pinned external bos on the first pass. This is harmless since we (currently) should have no pinned external bos needing copy since a) exernal system bos don't have compressed content, b) We do not (yet) allow pinning of VRAM bos. Still, fix this up so that we copy pinned external bos on the first pass. We're about to allow bos pinned in VRAM. Fixes: c6a4d46ec1d7 ("drm/xe: evict user memory in PM notifier") Cc: Matthew Auld <[email protected]> Cc: <[email protected]> # v6.16+ Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit 9e69bafece43dcefec864f00b3ec7e088aa7fcbc) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions