drm/msm/mdp5: Enhance operation mode for pipeline configuration
authorStephane Viau <sviau@codeaurora.org>
Fri, 13 Mar 2015 19:49:32 +0000 (15:49 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 1 Apr 2015 23:29:34 +0000 (19:29 -0400)
commitd145dd78d7e72ac07c84f6919283569e6b45a5c3
tree31881cd0904e3115b136b5ee4a3d84f31c4e76b7
parenta13cebabc81d709e1649c8d8475f0c0f66c0dd24
drm/msm/mdp5: Enhance operation mode for pipeline configuration

DSI and WB interfaces need a more complex pipeline configuration
than the current mdp5_ctl_set_intf().

For example, memory output connections need to be selected for
WB. Interface mode (Video vs. Command modes) also need to be
configured for DSI.

This change takes care of configuring the whole pipeline as far
as operation mode goes. DSI and WB interfaces will be added
later.

v2: rename macro to mdp5_cfg_intf_is_virtual() [pointed by Archit]

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
[Remove temp bisectability hack -Rob]
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h