From: Thierry Reding <thierry.reding@gmail.com>
To: Dmitry Osipenko <digetx@gmail.com>
Cc: dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's
Date: Fri, 4 May 2018 14:15:30 +0200 [thread overview]
Message-ID: <20180504121530.GS13459@ulmo> (raw)
In-Reply-To: <20180504000844.18661-3-digetx@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
On Fri, May 04, 2018 at 03:08:43AM +0300, Dmitry Osipenko wrote:
> Older Tegra's do not support planes z position handling in hardware,
> but HW provides knobs for zPos implementation in software.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
> drivers/gpu/drm/tegra/dc.c | 134 ++++++++++++++++-------
> drivers/gpu/drm/tegra/plane.c | 193 ++++++++++++++++++++++++----------
> drivers/gpu/drm/tegra/plane.h | 13 ++-
> 3 files changed, 244 insertions(+), 96 deletions(-)
This is obviously a lot to review, but it looks pretty good. On minor
comment below.
> diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
> index 2e81142281c3..ba5481cd470d 100644
> --- a/drivers/gpu/drm/tegra/dc.c
> +++ b/drivers/gpu/drm/tegra/dc.c
> @@ -162,29 +162,90 @@ static void tegra_plane_setup_blending_legacy(struct tegra_plane *plane)
[...]
> + case 1:
> + /*
> + * When both middle and topmost windows have an alpha,
> + * these windows a mixed together and then the result
> + * is blended over the bottom window.
> + */
> + if ((state->blending[0].alpha &&
> + state->blending[0].top))
There seems to be one pair of parentheses too much here.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-05-04 12:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-04 0:08 [PATCH v1 0/3] Couple more DRM plane features on Tegra Dmitry Osipenko
2018-05-04 0:08 ` [PATCH v1 1/3] drm/tegra: dc: Enable plane scaling filters Dmitry Osipenko
2018-05-04 11:10 ` Thierry Reding
2018-05-04 11:10 ` Thierry Reding
2018-05-04 11:55 ` Dmitry Osipenko
2018-05-04 12:09 ` Thierry Reding
2018-05-04 12:09 ` Thierry Reding
2018-05-04 0:08 ` [PATCH v1 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's Dmitry Osipenko
2018-05-04 12:15 ` Thierry Reding [this message]
2018-05-04 12:32 ` Dmitry Osipenko
2018-05-04 0:08 ` [PATCH v1 3/3] drm/tegra: dc: Rename supports_blending to has_legacy_blending Dmitry Osipenko
2018-05-04 12:16 ` Thierry Reding
2018-05-04 12:16 ` Thierry Reding
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=20180504121530.GS13459@ulmo \
--to=thierry.reding@gmail.com \
--cc=digetx@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.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 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.