mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 17:14:40 +08:00
7b1cce760a
Some options which can be specified on the commandline, such as margin_right=..., margin_left=..., etc. are applied not only to the specified mode, but to all modes. As such it would be nice if the user can simply say e.g. video=HDMI-1:margin_right=14,margin_left=24,margin_bottom=36,margin_top=42 This commit refactors drm_mode_parse_command_line_for_connector() to add support for this, and as a nice side effect also cleans up the function a bit. Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191118155134.30468-8-hdegoede@redhat.com |
||
---|---|---|
.. | ||
drm_cmdline_selftests.h | ||
drm_mm_selftests.h | ||
drm_modeset_selftests.h | ||
drm_selftest.c | ||
drm_selftest.h | ||
Makefile | ||
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 |