]> 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)
commitcb2544ba0f6b9f98d17f71955ece6bd8ca6579ab
treeb1fcfa280738f4bde8d8d0c2c7816454e622641d
parenta3f45a27bfa7b82913c4fc8c717dadbd158f9e7c
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