summaryrefslogtreecommitdiff
path: root/compositor
diff options
context:
space:
mode:
authorUcan, Emre (ADITG/SW1) <eucan@de.adit-jv.com>2017-03-08 15:43:18 +0000
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-09-04 15:47:03 +0300
commit38ea2d2254c606e69238b641b422816c79cb1f44 (patch)
treedba1e5ffaf9a1cf0a651bc4e5dfe436466b61f94 /compositor
parent156bd065c9f5532bfd40d0391e6cb98e802c3e14 (diff)
compositor-drm: remove connector option
Remove the option, because it is hard to use. Drm connector ids are hard to reach for users, and they can change when kernel or device tree is modified. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Reviewed-by: Daniel Stone <daniels@collabora.com> [Pekka: bump WESTON_DRM_BACKEND_CONFIG_VERSION] Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'compositor')
-rw-r--r--compositor/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/compositor/main.c b/compositor/main.c
index f8a60e97..0615d87e 100644
--- a/compositor/main.c
+++ b/compositor/main.c
@@ -562,7 +562,6 @@ usage(int error_code)
#if defined(BUILD_DRM_COMPOSITOR)
fprintf(stderr,
"Options for drm-backend.so:\n\n"
- " --connector=ID\tBring up only this connector\n"
" --seat=SEAT\t\tThe seat that weston should run on\n"
" --tty=TTY\t\tThe tty to use\n"
" --use-pixman\t\tUse the pixman (CPU) renderer\n"
@@ -1222,7 +1221,6 @@ load_drm_backend(struct weston_compositor *c,
wet->drm_use_current_mode = false;
const struct weston_option options[] = {
- { WESTON_OPTION_INTEGER, "connector", 0, &config.connector },
{ WESTON_OPTION_STRING, "seat", 0, &config.seat_id },
{ WESTON_OPTION_INTEGER, "tty", 0, &config.tty },
{ WESTON_OPTION_BOOLEAN, "current-mode", 0, &wet->drm_use_current_mode },