summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panfrost
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-01-17 16:34:29 +0100
committerMaxime Ripard <maxime@cerno.tech>2020-02-12 18:32:58 +0100
commit5c320b6ce7510653bce68cecf80cf5b2d67e907f (patch)
tree927c307a61ea4c642ee9df3c75857425ec2a9772 /drivers/gpu/drm/panfrost
parente6980a727154b793adb218fbc7b4d6af52a7e364 (diff)
downloadlinux-5c320b6ce7510653bce68cecf80cf5b2d67e907f.tar.bz2
drm/modes: Allow DRM_MODE_ROTATE_0 when applying video mode parameters
At the moment, only DRM_MODE_ROTATE_180 is allowed when we try to apply the rotation from the video mode parameters. It is also useful to allow DRM_MODE_ROTATE_0 in case there is only a reflect option in the video mode parameter (e.g. video=540x960,reflect_x). DRM_MODE_ROTATE_0 means "no rotation" and should therefore not require any special handling, so we can just add it to the if condition. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20200117153429.54700-3-stephan@gerhold.net
Diffstat (limited to 'drivers/gpu/drm/panfrost')
0 files changed, 0 insertions, 0 deletions