[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-06-12 Thread Emil Velikov
On 11 June 2015 at 14:43, Tobias Jakobi wrote: > Sorry for the late reply! > > On 2015-05-28 14:25, Emil Velikov wrote: >>> >>> 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

[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-06-11 Thread Tobias Jakobi
Sorry for the late reply! On 2015-05-28 14:25, Emil Velikov wrote: >> 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

[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-05-28 Thread Emil Velikov
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 >> 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: Tobia

[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-05-21 Thread Tobias Jakobi
Hey Emil, Emil Velikov wrote: > Hi Tobias > > On 12 May 2015 at 21:17, Tobias Jakobi > 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 > Nice catch ! I will push the tomorrow, unl

[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-05-21 Thread Emil Velikov
Hi Tobias On 12 May 2015 at 21:17, Tobias Jakobi 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 Nice catch ! I will push the tomorrow, unless we hear any objections against it. Patch 1

[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-05-12 Thread Tobias Jakobi
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 --- tests/modetest/modetest.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/modetest/modetest.c b/tests/modetest

[PATCH 2/2] modetest: only select plane with matching format

2015-05-06 Thread Tobias Jakobi
Don't assume that a plane supports any kind of pixelformat but do a check first. Signed-off-by: Tobias Jakobi --- tests/modetest/modetest.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 7f0c1cc..