diff options
author | Lyude Paul <lyude@redhat.com> | 2019-01-10 19:53:39 -0500 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2019-01-10 20:38:34 -0500 |
commit | 7aa275ca0eaedd206f1abdc547e333557ae504c9 (patch) | |
tree | fc22bbfd80a37a3c5689f63ac57975c3ca2eaf4d /include | |
parent | d79a3c52f34b648c56794e14364cc5169af2202f (diff) | |
download | linux-7aa275ca0eaedd206f1abdc547e333557ae504c9.tar.bz2 |
drm/nouveau: Grab payload lock in nv50_msto_payload()
Going through the currently programmed payloads isn't safe without
holding mgr->payload_lock, so actually do that and warn if anyone tries
calling nv50_msto_payload() in the future without grabbing the right
locks.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@redhat.com>
Cc: Jerry Zuo <Jerry.Zuo@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Juston Li <juston.li@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111005343.17443-17-lyude@redhat.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions