From: Boris Brezillon <boris.brezillon@bootlin.com>
To: David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org
Cc: "Boris Brezillon" <boris.brezillon@bootlin.com>,
nouveau@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
"Ben Skeggs" <bskeggs@redhat.com>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>
Subject: [PATCH v2 0/4] drm/connector: Provide generic support for underscan
Date: Fri, 11 May 2018 16:59:15 +0200 [thread overview]
Message-ID: <20180511145919.22447-1-boris.brezillon@bootlin.com> (raw)
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
next reply other threads:[~2018-05-11 14:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 14:59 Boris Brezillon [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180511145919.22447-1-boris.brezillon@bootlin.com \
--to=boris.brezillon@bootlin.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=bskeggs@redhat.com \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=nouveau@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox