]> git.ipfire.org Git - thirdparty/openwrt.git/blob
3836cde15e3ded5d65e87e516305ce0a34f85f30
[thirdparty/openwrt.git] /
1 From 138752fb6ebd4f86751da00f20ed3a0139cde389 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Fri, 24 Nov 2023 16:22:10 +0000
4 Subject: [PATCH 0736/1085] drm/vc4: vec: Add the margin properties to the
5 connector
6
7 All the handling for the properties was present, but they
8 were never attached to the connector to allow userspace
9 to change them.
10
11 Add them to the connector.
12
13 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
14 ---
15 drivers/gpu/drm/vc4/vc4_vec.c | 2 ++
16 1 file changed, 2 insertions(+)
17
18 --- a/drivers/gpu/drm/vc4/vc4_vec.c
19 +++ b/drivers/gpu/drm/vc4/vc4_vec.c
20 @@ -584,6 +584,8 @@ static int vc4_vec_connector_init(struct
21
22 drm_object_attach_property(&connector->base, prop, legacy_default_mode);
23
24 + drm_connector_attach_tv_margin_properties(connector);
25 +
26 drm_connector_attach_encoder(connector, &vec->encoder.base);
27
28 return 0;