From: Ben Davis <Ben.Davis@arm.com>
To: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>
Cc: nd <nd@arm.com>, Liviu Dudau <Liviu.Dudau@arm.com>,
Brian Starkey <Brian.Starkey@arm.com>,
"airlied@linux.ie" <airlied@linux.ie>,
"daniel@ffwll.ch" <daniel@ffwll.ch>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
"maxime.ripard@bootlin.com" <maxime.ripard@bootlin.com>,
"sean@poorly.run" <sean@poorly.run>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Ben Davis <Ben.Davis@arm.com>
Subject: [PATCH 0/2] Add writeback scaling
Date: Wed, 10 Apr 2019 11:11:05 +0000 [thread overview]
Message-ID: <cover.1554891327.git.ben.davis@arm.com> (raw)
Add support for scaling on writeback. To do this add writeback_w and
writeback_h as writeback connector properties to specify the desired
output dimensions.
Then implement downscaling on writeback for Malidp-550 and Malidp-650
(upscaling on writeback is not supported on these devices).
Ben Davis (2):
drm: Add writeback_w,h properties
drm/malidp: Enable writeback scaling
drivers/gpu/drm/arm/malidp_crtc.c | 49 ++++++++++++----------
drivers/gpu/drm/arm/malidp_crtc.h | 12 ++++++
drivers/gpu/drm/arm/malidp_drv.c | 10 +++--
drivers/gpu/drm/arm/malidp_hw.c | 45 ++++++++++++++------
drivers/gpu/drm/arm/malidp_hw.h | 19 +++++++--
drivers/gpu/drm/arm/malidp_mw.c | 86 ++++++++++++++++++++++++++++++---------
drivers/gpu/drm/arm/malidp_regs.h | 1 +
drivers/gpu/drm/drm_atomic_uapi.c | 8 ++++
drivers/gpu/drm/drm_writeback.c | 28 +++++++++++++
include/drm/drm_connector.h | 4 ++
include/drm/drm_mode_config.h | 10 +++++
11 files changed, 211 insertions(+), 61 deletions(-)
create mode 100644 drivers/gpu/drm/arm/malidp_crtc.h
--
2.7.4
next reply other threads:[~2019-04-10 11:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 11:11 Ben Davis [this message]
2019-04-10 11:11 ` [PATCH 1/2] drm: Add writeback_w,h properties Ben Davis
2019-04-10 11:48 ` Maarten Lankhorst
2019-04-10 16:46 ` Ben Davis
2019-04-10 16:55 ` Maarten Lankhorst
2019-04-10 11:11 ` [PATCH 2/2] drm/malidp: Enable writeback scaling Ben Davis
2019-04-10 11:11 ` Ben Davis
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=cover.1554891327.git.ben.davis@arm.com \
--to=ben.davis@arm.com \
--cc=Brian.Starkey@arm.com \
--cc=Liviu.Dudau@arm.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=maxime.ripard@bootlin.com \
--cc=nd@arm.com \
--cc=sean@poorly.run \
/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 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.