]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/msm/mdp5: Prepare new kms_init funcs
authorArchit Taneja <architt@codeaurora.org>
Tue, 14 Jun 2016 12:53:52 +0000 (18:23 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:08:56 +0000 (10:08 -0400)
commitaec095ecbcc70653a014ccb8c57abc094089e9fa
treebc32ce6bb71a8faaf70a8075b7ba439de1c43fdd
parent1dd0a0b18697e59c0928cea41b7e922e80d7d246
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>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/msm_kms.h