aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/scheduler/sched_entity.c
diff options
context:
space:
mode:
authorHyejeong Choi <[email protected]>2025-05-13 02:06:38 +0000
committerChristian König <[email protected]>2025-05-14 13:31:23 +0000
commit72c7d62583ebce7baeb61acce6057c361f73be4a (patch)
tree73e9d5704208aab3be9a6acf5c8ecfdc9047fdb7 /drivers/gpu/drm/scheduler/sched_entity.c
parentaccel/ivpu: Use effective buffer size for zero terminator (diff)
downloadkernel-72c7d62583ebce7baeb61acce6057c361f73be4a.tar.gz
kernel-72c7d62583ebce7baeb61acce6057c361f73be4a.zip
dma-buf: insert memory barrier before updating num_fences
smp_store_mb() inserts memory barrier after storing operation. It is different with what the comment is originally aiming so Null pointer dereference can be happened if memory update is reordered. Signed-off-by: Hyejeong Choi <[email protected]> Fixes: a590d0fdbaa5 ("dma-buf: Update reservation shared_count after adding the new fence") CC: [email protected] Reviewed-by: Christian König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_entity.c')
0 files changed, 0 insertions, 0 deletions