drm/msm/mdp5: subclass msm_mdss for mdp5
authorRajesh Yadav <ryadav@codeaurora.org>
Thu, 21 Jun 2018 20:06:10 +0000 (16:06 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 26 Jul 2018 14:40:15 +0000 (10:40 -0400)
commitbc3220be22577e199452edbb6a24a980a4ab5c73
tree113bf5d85543a1e044150742a93c5fe7892ca175
parenta5c6b59904222ffe2eee37e5951d1f57ac1e530f
drm/msm/mdp5: subclass msm_mdss for mdp5

SoCs having mdp5 or dpu have identical tree like
device hierarchy where MDSS top level wrapper manages
common power resources for all child devices.

Subclass msm_mdss so that msm_mdss includes common defines
and mdp5/dpu mdss derivations to include any extensions.

Add mdss helper interface (msm_mdss_funcs) to msm_mdss
base for mdp5/dpu mdss specific implementation calls.

This change subclasses msm_mdss for mdp5, dpu specific
changes will be done separately.

Changes in v3:
- Added Archit's R-b

Reviewed-by: Archit Taneja <architt@codeaurora.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
[seanpaul rebased on msm-next and resolved conflicts]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_kms.h