• Archit Taneja's avatar
    drm/msm/mdp5: Prepare new kms_init funcs · aec095ec
    Archit Taneja authored
    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: default avatarArchit Taneja <architt@codeaurora.org>
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    aec095ec
mdp5_kms.c 25.5 KB