From: Emil Velikov <emil.l.velikov@gmail.com>
To: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Cc: emil.l.velikov@gmail.com, ML dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [RESEND PATCH 2/2] modetest: only select plane with matching format
Date: Thu, 28 May 2015 12:25:21 +0000 [thread overview]
Message-ID: <55670931.9010209@gmail.com> (raw)
In-Reply-To: <555E1DA7.60609@math.uni-bielefeld.de>
On 21/05/15 18:02, Tobias Jakobi wrote:
> Hey Emil,
>
> Emil Velikov wrote:
>> Hi Tobias
>>
>> On 12 May 2015 at 21:17, Tobias Jakobi <tjakobi@math.uni-bielefeld.de> wrote:
>>> Don't assume that a plane supports any kind of pixelformat
>>> but do a check first.
>>>
>>> v2: Simplify the format check.
>>> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>> Nice catch ! I will push the tomorrow, unless we hear any objections against it.
>>
>> Patch 1/2 looks sane imho, although I'm not sure if some of the teams
>> has some (automated?) testing which depends on the lack of
>> transparency.
> I'm not sure what you mean by that ('lack of transparency').
The lack of transparency in my explanation :-)
> If you
> create your primary plane with a XRGB-type format then this patch
> doesn't change anything. If you create it with an ARGB-type format then
> I can assume that the user wants an alpha-channel (he explicitly asks
> for it).
>
True. But the test might be assuming that alpha is always 255, thus it
expects that the output for XRGB and ARGB type formats is the same.
Obviously the likely-hood of all that is negligible, esp. considering
the benefit that the patch brings.
I'm picking libdrm patches off the list as we speak, which will include
both of these.
Thanks
Emil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-05-28 11:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 20:17 [RESEND PATCH 1/2] modetest: make middle SMPTE colors transparent Tobias Jakobi
2015-05-12 20:17 ` [RESEND PATCH 2/2] modetest: only select plane with matching format Tobias Jakobi
2015-05-21 15:29 ` Emil Velikov
2015-05-21 18:02 ` Tobias Jakobi
2015-05-28 12:25 ` Emil Velikov [this message]
2015-06-11 13:43 ` Tobias Jakobi
2015-06-12 14:37 ` Emil Velikov
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=55670931.9010209@gmail.com \
--to=emil.l.velikov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=tjakobi@math.uni-bielefeld.de \
/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