e6980a7271
A rotation value should have exactly one rotation angle. At the moment there is no validation for this when parsing video= parameters from the command line. This causes problems later on when we try to combine the command line rotation with the panel orientation. To make sure that we generate a valid rotation value: - Set DRM_MODE_ROTATE_0 by default (if no rotate= option is set) - Validate that there is exactly one rotation angle set (i.e. specifying the rotate= option multiple times is invalid) 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-2-stephan@gerhold.net |
||
---|---|---|
.. | ||
Makefile | ||
drm_cmdline_selftests.h | ||
drm_mm_selftests.h | ||
drm_modeset_selftests.h | ||
drm_selftest.c | ||
drm_selftest.h | ||
test-drm_cmdline_parser.c | ||
test-drm_damage_helper.c | ||
test-drm_dp_mst_helper.c | ||
test-drm_format.c | ||
test-drm_framebuffer.c | ||
test-drm_mm.c | ||
test-drm_modeset_common.c | ||
test-drm_modeset_common.h | ||
test-drm_plane_helper.c | ||
test-drm_rect.c |