aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2025-05-27 13:28:53 +0000
committerChristian Brauner <[email protected]>2025-05-27 19:06:24 +0000
commit25b065a744ff0c1099bb357be1c40030b5a14c07 (patch)
treeb987f42d174841aff05e59fa08fa82e599a19c83 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentmm/filemap: gate dropbehind invalidate on folio !dirty && !writeback (diff)
downloadkernel-25b065a744ff0c1099bb357be1c40030b5a14c07.tar.gz
kernel-25b065a744ff0c1099bb357be1c40030b5a14c07.zip
mm/filemap: use filemap_end_dropbehind() for read invalidation
Use the filemap_end_dropbehind() helper rather than calling folio_unmap_invalidate() directly, as we need to check if the folio has been redirtied or marked for writeback once the folio lock has been re-acquired. Cc: [email protected] Reported-by: Trond Myklebust <[email protected]> Fixes: 8026e49bff9b ("mm/filemap: add read support for RWF_DONTCACHE") Link: https://lore.kernel.org/linux-fsdevel/[email protected]/ Signed-off-by: Jens Axboe <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions