drm/msm/mdp5: Set rotation property initial value to DRM_ROTATE_0 insted of 0
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Jul 2016 13:43:09 +0000 (16:43 +0300)
committerRob Clark <robdclark@gmail.com>
Thu, 15 Sep 2016 21:21:12 +0000 (17:21 -0400)
commit1d42a3fee6e83ae6e7c83808ccdf8620fc30447e
treeb17a0b9816a6c805530c75ba3c849f69787fba52
parent0e54543c49e5a11db602f29a3b0d5d38ef234f7a
drm/msm/mdp5: Set rotation property initial value to DRM_ROTATE_0 insted of 0

0 isn't a valid rotation property value, so let's set the initial value
of the property to DRM_ROTATE_0 instead.

In the same vein, we must always have at leat one angle as part of set
of supported rotation bits, so let's include DRM_ROTATE_0 in there.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Jilai Wang <jilaiw@codeaurora.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c