drm/msm/mdp: Add capabilities to MDP planes (v2)
authorjilai wang <jilaiw@codeaurora.org>
Wed, 8 Jul 2015 22:12:40 +0000 (18:12 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:20 +0000 (18:27 -0400)
commit3498409f0315b93f969f87c31d014a9819f6fa7d
tree6ad309fed27f54c5219f30c8da5e93d7d881a221
parentbef799fb77dc30d32362b6850e997f1c29fc99eb
drm/msm/mdp: Add capabilities to MDP planes (v2)

MDP planes can be implemented using different type of HW pipes,
RGB/VIG/DMA pipes for MDP5 and RGB/VG/DMA pipes for MDP4. Each type
of pipe has different HW capabilities such as scaling, color space
conversion, decimation... Add a variable in plane data structure
to specify the difference of each plane which comes from mdp5_cfg data
and use it to differenciate the plane operation.
V1: Initial change
V2: Fix a typo in mdp4_kms.h

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c
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_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/mdp/mdp_kms.h