]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Get SMP client list from mdp5_cfg
authorStephane Viau <sviau@codeaurora.org>
Mon, 9 Mar 2015 13:11:06 +0000 (09:11 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 1 Apr 2015 23:29:36 +0000 (19:29 -0400)
commit3dbbdf3cf72bd2bc088f074c7db4a64e3ba33c73
treeb1fcfa280738f4bde8d8d0c2c7816454e622641d
parent2d65496172f45df1bfae03f575b37831ca99d782
drm/msm/mdp5: Get SMP client list from mdp5_cfg

SMP blocks are configured for specific client IDs (ports).
These client IDs can be different from one chip to another for a
given pipe.

e.g.: DMA0 pipe fetch Y component is connected to:
 - port #10 for MDP5 v1.3
 - port #4 for MDP5 v1.6

In order to be compatible for upcoming versions of MDP5, the
client ID list is passed through the MDP5 config module rather
than using a list of hard-coded enum values.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c