drm/msm/mdp5: Add rotation (hflip/vflip) support to MDP5 planes (v2)
authorjilai wang <jilaiw@codeaurora.org>
Fri, 31 Jul 2015 14:13:26 +0000 (10:13 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:26 +0000 (18:27 -0400)
commit8089082fae1975ad9d5abbd37c0ee8f688be28a0
treeff98540da971563315afe91ab2db9c8f1428ca7d
parent095022b9aa0546a0f3d3fb5f42c82b4004103864
drm/msm/mdp5: Add rotation (hflip/vflip) support to MDP5 planes (v2)

MDP5 SSPPs can flip the input source horizontally or vertically.
This change is to add this support to MDP5 planes.

v1: Initial change
v2: Use existing "rotation" property instead of creating msm specific
    properties. In order to be compatiable with legacy non-atomic
    set_property, switch to drm_atomic_helper_plane_set_property
    helper function.

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c