]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Bring back pipe_lock to mdp5_plane struct
authorArchit Taneja <architt@codeaurora.org>
Thu, 23 Mar 2017 10:27:54 +0000 (15:57 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:33 +0000 (06:59 -0400)
commite152aa6350e49ff167e1ad84e2617bccd311c8f8
treeee11f9844cf10f2e20207b8edcfece77ffcb44fc
parent0a82eba65f8f8e6ae69f2413df78ce655708eee4
drm/msm/mdp5: Bring back pipe_lock to mdp5_plane struct

We'd previously moved the pipe_lock spinlock to the hwpipe struct. Bring
it back to mdp5_plane. We will need this because an mdp5_plane in the
future could comprise of 2 hw pipes. It makes more sense to have a single
lock to protect the registers for the hw pipes used by a plane, rather
than trying to take individual locks per hwpipe when committing a
configuration.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_pipe.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_pipe.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c