drm/msm/mdp5: introduce mdp5_hw_pipe
authorRob Clark <robdclark@gmail.com>
Tue, 1 Nov 2016 13:56:51 +0000 (09:56 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 27 Nov 2016 16:32:20 +0000 (11:32 -0500)
commitc056b55dc672cbc42e8814ef45726ca22e01ef9e
tree60647e4b613484f8d7476839a2f1d3c70465db97
parentf5903bad80fe94ee92ba1ff93b4761790846a39e
drm/msm/mdp5: introduce mdp5_hw_pipe

Split out the hardware pipe specifics from mdp5_plane.  To start, the hw
pipes are statically assigned to planes, but next step is to assign the
hw pipes during plane->atomic_check() based on requested caps (scaling,
YUV, etc).  And then hw pipe re-assignment if required if required SMP
blocks changes.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_pipe.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp/mdp5/mdp5_pipe.h [new file with mode: 0644]
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c