All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] vc4/hdmi: Support TV margin props
@ 2018-12-06 14:24 Boris Brezillon
  2018-12-06 14:24 ` [PATCH v4 1/5] drm/connector: Fix drm_mode_create_tv_properties() doc Boris Brezillon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Boris Brezillon @ 2018-12-06 14:24 UTC (permalink / raw)
  To: Eric Anholt; +Cc: dri-devel, Boris Brezillon

Hello,

As suggested by Ville, this version uses the already available TV
margin props to define left/right/top/bottom margins insted of adding
new underscan props.

This works pretty well for what we want to do in VC4: allow one to
define the visible area on a TV.

The first 2 patches are fixing the existing doc, patch 3 is allowing
one to create and attach TV margins independently of the TV connector
props. Finally, patch 4 and 5 add support for those props to the VC4
driver.

Regards,

Boris 

Boris Brezillon (5):
  drm/connector: Fix drm_mode_create_tv_properties() doc
  drm/connector: Clarify the unit of TV margins
  drm/connector: Allow creation of margin props alone
  drm/vc4: Take margin setup into account when updating planes
  drm/vc4: Attach margin props to the HDMI connector

 drivers/gpu/drm/drm_connector.c | 83 +++++++++++++++++++++++++--------
 drivers/gpu/drm/vc4/vc4_crtc.c  | 43 +++++++++++++++++
 drivers/gpu/drm/vc4/vc4_drv.h   |  3 ++
 drivers/gpu/drm/vc4/vc4_hdmi.c  | 16 +++++++
 drivers/gpu/drm/vc4/vc4_plane.c | 50 ++++++++++++++++++++
 include/drm/drm_connector.h     |  4 +-
 include/drm/drm_mode_config.h   |  8 ++--
 7 files changed, 183 insertions(+), 24 deletions(-)

-- 
2.17.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-19 13:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-06 14:24 [PATCH v4 0/5] vc4/hdmi: Support TV margin props Boris Brezillon
2018-12-06 14:24 ` [PATCH v4 1/5] drm/connector: Fix drm_mode_create_tv_properties() doc Boris Brezillon
2018-12-06 14:24 ` [PATCH v4 2/5] drm/connector: Clarify the unit of TV margins Boris Brezillon
2018-12-06 14:24 ` [PATCH v4 3/5] drm/connector: Allow creation of margin props alone Boris Brezillon
2018-12-06 14:24 ` [PATCH v4 4/5] drm/vc4: Take margin setup into account when updating planes Boris Brezillon
2018-12-06 14:24 ` [PATCH v4 5/5] drm/vc4: Attach margin props to the HDMI connector Boris Brezillon
2018-12-06 19:04 ` [PATCH v4 0/5] vc4/hdmi: Support TV margin props Eric Anholt
2018-12-19 13:51 ` Boris Brezillon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.