aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2022-06-30 20:06:01 +0000
committerSteven Price <[email protected]>2022-07-04 15:38:00 +0000
commit9fc33eaaa979d112d10fea729edcd2a2e21aa912 (patch)
treec49aae4c2529b552c97149e25e3f9d64efc5b4ec /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parentdrm/panfrost: Put mapping instead of shmem obj on panfrost_mmu_map_fault_addr... (diff)
downloadkernel-9fc33eaaa979d112d10fea729edcd2a2e21aa912.tar.gz
kernel-9fc33eaaa979d112d10fea729edcd2a2e21aa912.zip
drm/panfrost: Fix shrinker list corruption by madvise IOCTL
Calling madvise IOCTL twice on BO causes memory shrinker list corruption and crashes kernel because BO is already on the list and it's added to the list again, while BO should be removed from the list before it's re-added. Fix it. Cc: [email protected] Fixes: 013b65101315 ("drm/panfrost: Add madvise and shrinker support") Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Steven Price <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Steven Price <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions