diff options
| author | Boris Brezillon <[email protected]> | 2025-11-07 17:12:14 +0000 |
|---|---|---|
| committer | Steven Price <[email protected]> | 2025-11-10 14:56:06 +0000 |
| commit | 576c930e5e7dcb937648490611a83f1bf0171048 (patch) | |
| tree | ef6a703e49d2a5b99ea030a96fb0fd601ae14cd5 /lib/mpi/mpi-scan.c | |
| parent | drm/vmwgfx: Restore Guest-Backed only cursor plane support (diff) | |
| download | kernel-576c930e5e7dcb937648490611a83f1bf0171048.tar.gz kernel-576c930e5e7dcb937648490611a83f1bf0171048.zip | |
drm/panthor: Flush shmem writes before mapping buffers CPU-uncached
The shmem layer zeroes out the new pages using cached mappings, and if
we don't CPU-flush we might leave dirty cachelines behind, leading to
potential data leaks and/or asynchronous buffer corruption when dirty
cachelines are evicted.
Fixes: 8a1cc07578bf ("drm/panthor: Add GEM logical block")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Reviewed-by: Liviu Dudau <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions
