drm/msm/mdp5: Add plane blending operation support for MDP5 (v2)
authorjilai wang <jilaiw@codeaurora.org>
Thu, 25 Jun 2015 21:37:42 +0000 (17:37 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:15 +0000 (18:27 -0400)
commit129877819c0a5f8d419fe67ae08a8a7c811afa5e
treedc093d220897efd68d1beecf5aed0078a45aff05
parent4ff696eafaa50d6d649d256d20528b475104a500
drm/msm/mdp5: Add plane blending operation support for MDP5 (v2)

This change is to add properties alpha/zpos/blend_mode to mdp5 plane
for alpha blending operation to generate the blended output.
v1: Initial change
v2: Change "premultilied" property to enum (Rob's comment)

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
[Don't actually expose alpha/premultiplied props to userspace yet
pending a chance for discussion and some userspace to exercise it]
Signed-off-by: Rob Clark <robdclark@gmail.com>
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_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/msm_drv.h