drm/msm/mdp5: Allocate CTL for each display interface
authorHai Li <hali@codeaurora.org>
Fri, 26 Jun 2015 20:03:25 +0000 (16:03 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:16 +0000 (18:27 -0400)
commitc71716b17bc772e9c38f85a4b496bbfac0dd32f0
tree06b551c9d06a7edad0d12841b094e99a20855198
parent129877819c0a5f8d419fe67ae08a8a7c811afa5e
drm/msm/mdp5: Allocate CTL for each display interface

In MDP5, CTL contains information of the whole pipeline whose
output goes down to a display interface. In various cases, one
interface may require 2 CRTCs, but only one CTL. Some interfaces
also require to use certain CTLs.

Instead of allocating CTL for each active CRTC, this change is to
associate a CTL with each interface.

Signed-off-by: Hai Li <hali@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h