aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2020-03-02 19:44:42 +0200
committerVille Syrjälä <[email protected]>2020-03-09 22:28:33 +0200
commitbb9ca240dca5c7e4564d10546e4bddab7e606fe3 (patch)
tree90a592a397bf1ccf2cfa5837750e0f20f6b00b51 /lib/mpi/mpi-mul.c
parente10eb8dd59e1eef559537898f10b4472d355c022 (diff)
drm/i915: Lock gmbus/aux mutexes while changing cdclk
gmbus/aux may be clocked by cdclk, thus we should make sure no transfers are ongoing while the cdclk frequency is being changed. We do that by simply grabbing all the gmbus/aux mutexes. No one else should be holding any more than one of those at a time so the lock ordering here shouldn't matter. v2: Use mutex_lock_nest_lock() (Chris) Cc: Chris Wilson <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Acked-by: Jani Nikula <[email protected]> Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions