Skip to content
Commit 1d42a3fe authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Rob Clark
Browse files

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 0e54543c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment