OSDN Git Service

drm/msm/mdp5: Prepare mdp5_pipe_assign for some rework
authorArchit Taneja <architt@codeaurora.org>
Fri, 27 Oct 2017 10:57:29 +0000 (16:27 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 28 Oct 2017 18:02:57 +0000 (14:02 -0400)
commit9866601e67adc5589302d7dfe12d8325d5b894f8
tree3e3aeca996d885345ddc5d4e8f1afd99da4e16c9
parentba49f0623dfd7307eb55b9e184389b513f1b3a2b
drm/msm/mdp5: Prepare mdp5_pipe_assign for some rework

mdp5_pipe_assign currently returns the hwpipe pointer for the drm_plane.
Return it indirectly by setting a pointer passed as an argument. This
is needed because we want the func to find out the right hwpipe too.

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