All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] drm/connector: Provide generic support for underscan
@ 2018-05-11 14:59 Boris Brezillon
       [not found] ` <20180511145919.22447-1-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
  2018-05-11 14:59 ` [PATCH v2 3/4] drm/vc4: Attach underscan props to the HDMI connector Boris Brezillon
  0 siblings, 2 replies; 14+ messages in thread
From: Boris Brezillon @ 2018-05-11 14:59 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, dri-devel
  Cc: Boris Brezillon, nouveau, amd-gfx, Ben Skeggs, Alex Deucher,
	Christian König

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.

In this v2, I also converted the nouveau driver to the generic
approach. The amdgpu and radeon ones can't be converted since they're
still not converted to the atomic interface.

Regards,

Boris 

Boris Brezillon (4):
  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
  drm/nouveau: Switch to the generic underscan props

 drivers/gpu/drm/drm_atomic.c                |  12 +++
 drivers/gpu/drm/drm_connector.c             | 127 ++++++++++++++++++++++++++++
 drivers/gpu/drm/nouveau/nouveau_connector.c |  39 ++-------
 drivers/gpu/drm/nouveau/nouveau_connector.h |   9 --
 drivers/gpu/drm/nouveau/nouveau_display.c   |  14 ---
 drivers/gpu/drm/nouveau/nouveau_display.h   |   3 -
 drivers/gpu/drm/nouveau/nv50_display.c      |  17 ++--
 drivers/gpu/drm/vc4/vc4_hdmi.c              |  25 ++++++
 drivers/gpu/drm/vc4/vc4_plane.c             |  49 ++++++++++-
 include/drm/drm_connector.h                 |  80 ++++++++++++++++++
 10 files changed, 310 insertions(+), 65 deletions(-)

-- 
2.14.1

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

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

end of thread, other threads:[~2018-05-14  7:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11 14:59 [PATCH v2 0/4] drm/connector: Provide generic support for underscan Boris Brezillon
     [not found] ` <20180511145919.22447-1-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-05-11 14:59   ` [PATCH v2 1/4] drm/connector: Add generic underscan properties Boris Brezillon
2018-05-11 14:59   ` [PATCH v2 2/4] drm/vc4: Take underscan setup into account when updating planes Boris Brezillon
     [not found]     ` <20180511145919.22447-3-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-05-11 15:34       ` Ville Syrjälä
     [not found]         ` <20180511153450.GS23723-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-05-11 15:52           ` Boris Brezillon
2018-05-11 16:54             ` Ville Syrjälä
     [not found]               ` <20180511165402.GU23723-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-05-11 17:12                 ` Boris Brezillon
2018-05-11 17:29                   ` Ville Syrjälä
     [not found]                     ` <20180511172948.GV23723-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-05-11 19:47                       ` Boris Brezillon
2018-05-11 20:46                         ` Ville Syrjälä
     [not found]                           ` <20180511204643.GW23723-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-05-14  7:05                             ` Eric Anholt
2018-05-11 20:11                       ` Eric Anholt
2018-05-11 14:59   ` [PATCH v2 4/4] drm/nouveau: Switch to the generic underscan props Boris Brezillon
2018-05-11 14:59 ` [PATCH v2 3/4] drm/vc4: Attach underscan props to the HDMI connector 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.