aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_syncobj.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-11-02 20:03:34 +0000
committerVille Syrjälä <[email protected]>2017-11-09 18:32:53 +0000
commit5f72db59160c697d1dec3f6074dba72bd834c695 (patch)
treea2daf87148008441d55d467b5a4f91ddbf9ac567 /drivers/gpu/drm/drm_syncobj.c
parentdrm/syncobj: Mark up the fence as an RCU protected pointer (diff)
downloadkernel-5f72db59160c697d1dec3f6074dba72bd834c695.tar.gz
kernel-5f72db59160c697d1dec3f6074dba72bd834c695.zip
dma-buf/fence: Sparse wants __rcu on the object itself
In order to silence sparse in dma_fence_get_rcu_safe(), we need to mark the incoming fence object as being RCU protected and not the pointer to the object. Cc: Dave Airlie <[email protected]> Cc: Jason Ekstrand <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Cc: Sumit Semwal <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> Acked-by: Christian König <[email protected]> Acked-by: Sumit Semwal <[email protected]> [vsyrjala: s/silent/silence/ in commit message] Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_syncobj.c')
0 files changed, 0 insertions, 0 deletions