amd-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] drm/connector: Provide generic support for underscan
@ 2018-11-22 11:23 Boris Brezillon
  2018-11-22 11:23 ` [PATCH v3 1/3] drm/connector: Add generic underscan properties Boris Brezillon
       [not found] ` <20181122112331.17735-1-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Boris Brezillon @ 2018-11-22 11:23 UTC (permalink / raw)
  To: Eric Anholt
  Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Boris Brezillon,
	Ben Skeggs, Daniel Vetter, Alex Deucher, Christian König,
	Ville Syrjälä

Hello,

This is an attempt at providing generic support for underscan connector
props. We already have 3 drivers defining the same underscan, underscan
vborder and underscan hborder properties (amd, radeon and nouveau) and
I am about to add a new one, hence my proposal to put the prop parsing
code in the core and add ->underscan fields to drm_connector_state.

This v3 was based on the "VC4 cursor scaling" changes, and thus address
Ville's concern about cursor plane not being rescaled with the other
ones.

Note that I dropped the nouveau conversion. I'll post a new version
once/if the generic stuff are accepted.

Regards,

Boris 

Boris Brezillon (3):
  drm/connector: Add generic underscan properties
  drm/vc4: Take underscan setup into account when updating planes
  drm/vc4: Attach underscan props to the HDMI connector

 drivers/gpu/drm/drm_atomic_uapi.c |  12 +++
 drivers/gpu/drm/drm_connector.c   | 127 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/vc4/vc4_crtc.c    |  47 +++++++++++
 drivers/gpu/drm/vc4/vc4_drv.h     |   3 +
 drivers/gpu/drm/vc4/vc4_hdmi.c    |  25 ++++++
 drivers/gpu/drm/vc4/vc4_plane.c   |  50 ++++++++++++
 include/drm/drm_connector.h       |  80 +++++++++++++++++++
 7 files changed, 344 insertions(+)

-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2018-12-04 10:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-22 11:23 [PATCH v3 0/3] drm/connector: Provide generic support for underscan Boris Brezillon
2018-11-22 11:23 ` [PATCH v3 1/3] drm/connector: Add generic underscan properties Boris Brezillon
     [not found]   ` <20181122112331.17735-2-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-11-22 17:36     ` Brian Starkey
2018-11-28 17:17       ` Eric Anholt
2018-12-03 14:40     ` Ville Syrjälä
2018-12-03 15:36       ` Boris Brezillon
2018-12-03 15:50         ` Eric Anholt
2018-12-04 10:42           ` Daniel Vetter
     [not found] ` <20181122112331.17735-1-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-11-22 11:23   ` [PATCH v3 2/3] drm/vc4: Take underscan setup into account when updating planes Boris Brezillon
2018-11-22 11:23   ` [PATCH v3 3/3] drm/vc4: Attach underscan props to the HDMI connector Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).