From: Archit Taneja <architt@codeaurora.org>
To: Rob Herring <robh@kernel.org>, robdclark@gmail.com
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/msm/mdp: Add support for more RGBX formats
Date: Tue, 12 Apr 2016 18:38:15 +0530 [thread overview]
Message-ID: <570CF33F.2020809@codeaurora.org> (raw)
In-Reply-To: <1460417031-9859-1-git-send-email-robh@kernel.org>
On 04/12/2016 04:53 AM, Rob Herring wrote:
> Android needs XBGR8888 format. Add all the missing 32-bpp formats
> without alpha for completeness.
>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
> Cc: Archit Taneja <architt@codeaurora.org>
> Cc: Rob Clark <robdclark@gmail.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> drivers/gpu/drm/msm/mdp/mdp_format.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/mdp/mdp_format.c b/drivers/gpu/drm/msm/mdp/mdp_format.c
> index 1c2caff..b4a8aa4 100644
> --- a/drivers/gpu/drm/msm/mdp/mdp_format.c
> +++ b/drivers/gpu/drm/msm/mdp/mdp_format.c
> @@ -105,6 +105,12 @@ static const struct mdp_format formats[] = {
> MDP_PLANE_INTERLEAVED, CHROMA_FULL, false),
> FMT(XRGB8888, 8, 8, 8, 8, 1, 0, 2, 3, false, true, 4, 4,
> MDP_PLANE_INTERLEAVED, CHROMA_FULL, false),
> + FMT(XBGR8888, 8, 8, 8, 8, 2, 0, 1, 3, false, true, 4, 4,
> + MDP_PLANE_INTERLEAVED, CHROMA_FULL, false),
> + FMT(RGBX8888, 8, 8, 8, 8, 3, 1, 0, 2, false, true, 4, 4,
> + MDP_PLANE_INTERLEAVED, CHROMA_FULL, false),
> + FMT(BGRX8888, 8, 8, 8, 8, 3, 2, 0, 1, false, true, 4, 4,
> + MDP_PLANE_INTERLEAVED, CHROMA_FULL, false),
> FMT(RGB888, 0, 8, 8, 8, 1, 0, 2, 0, false, true, 3, 3,
> MDP_PLANE_INTERLEAVED, CHROMA_FULL, false),
> FMT(BGR888, 0, 8, 8, 8, 2, 0, 1, 0, false, true, 3, 3,
>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, hosted by The Linux Foundation
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2016-04-12 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-11 23:23 [PATCH] drm/msm/mdp: Add support for more RGBX formats Rob Herring
2016-04-12 13:08 ` Archit Taneja [this message]
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=570CF33F.2020809@codeaurora.org \
--to=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=robdclark@gmail.com \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox