summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/msm_gem.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2023-03-20 17:43:24 +0300
committerRob Clark <robdclark@chromium.org>2023-03-26 02:31:43 +0300
commit769fec1e4f918d840b1917eb2a371b6b94fb1984 (patch)
treedcf185c3582c48920f8c869f29e0b87cf9c8d93c /drivers/gpu/drm/msm/msm_gem.h
parentf94e6a51e17ccff8e005be208e723ca265c8b881 (diff)
downloadlinux-769fec1e4f918d840b1917eb2a371b6b94fb1984.tar.xz
drm/msm: Move submit bo flags update from obj lock
The flags are only accessed (1) when submit is constructed, before enqueuing to gpu sched (ie. when still visible to only the task calling the submit ioctl), (2) here, where we own a reference to the submit and are serialized on the gpu sched thread, and (3) after the submit is retired and last reference is dropped, which is serialized on the submit's reference count. Hence locking is unneeded here. Signed-off-by: Rob Clark <robdclark@chromium.org> Patchwork: https://patchwork.freedesktop.org/patch/527830/ Link: https://lore.kernel.org/r/20230320144356.803762-3-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.h')
0 files changed, 0 insertions, 0 deletions