diff options
author | Archit Taneja <architt@codeaurora.org> | 2016-06-14 18:23:52 +0530 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-07-16 10:08:56 -0400 |
commit | aec095ecbcc70653a014ccb8c57abc094089e9fa (patch) | |
tree | bc32ce6bb71a8faaf70a8075b7ba439de1c43fdd /drivers/gpu/drm/msm/msm_kms.h | |
parent | 1dd0a0b18697e59c0928cea41b7e922e80d7d246 (diff) | |
download | kernel_replicant_linux-aec095ecbcc70653a014ccb8c57abc094089e9fa.tar.gz kernel_replicant_linux-aec095ecbcc70653a014ccb8c57abc094089e9fa.tar.bz2 kernel_replicant_linux-aec095ecbcc70653a014ccb8c57abc094089e9fa.zip |
drm/msm/mdp5: Prepare new kms_init funcs
With MDP5 as a new device, we need to do less for MDP when initializing
modeset after all the components are bound.
Create mdp5_kms_init2/destroy2 funcs that inits modeset. These will
eventually replace the older kms_init/destroy funcs.
In the new kms_init2, the platform_device used is the one corresponding
to the new MDP5 platform_device. The new change here is that the irq is
now retrieved using irq_of_parse_and_map(), since MDP5 is a child interrupt
of the MDSS interrupt controller.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_kms.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_kms.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index 40e41e5cdbc6..13f893d1a518 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -73,6 +73,7 @@ static inline void msm_kms_init(struct msm_kms *kms, struct msm_kms *mdp4_kms_init(struct drm_device *dev); struct msm_kms *mdp5_kms_init(struct drm_device *dev); +struct msm_kms *mdp5_kms_init2(struct drm_device *dev); int msm_mdss_init(struct drm_device *dev); void msm_mdss_destroy(struct drm_device *dev); |