Skip to content

Commit

Permalink
drm/vc4: vec: Add the margin properties to the connector
Browse files Browse the repository at this point in the history
All the handling for the properties was present, but they
were never attached to the connector to allow userspace
to change them.

Add them to the connector.

Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 committed Nov 24, 2023
1 parent 77f41f3 commit 34417a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/vc4/vc4_vec.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ static int vc4_vec_connector_init(struct drm_device *dev, struct vc4_vec *vec)

drm_object_attach_property(&connector->base, prop, legacy_default_mode);

drm_connector_attach_tv_margin_properties(connector);

drm_connector_attach_encoder(connector, &vec->encoder.base);

return 0;
Expand Down

0 comments on commit 34417a6

Please sign in to comment.