public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/igt_fb: Fix merge of preliminary patches for clearing YUV
@ 2019-02-05 13:22 Paul Kocialkowski
  2019-02-05 13:30 ` Maxime Ripard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul Kocialkowski @ 2019-02-05 13:22 UTC (permalink / raw)
  To: igt-dev

Preliminary patches for the YUV testing series were broken without
subsequent patches that fix them when moving things around.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
---
 lib/igt_fb.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index d69c3fb2d38d..5d8c187a9ac9 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -548,7 +548,9 @@ static int create_bo_for_fb(struct igt_fb *fb)
 			gem_set_tiling(fd, fb->gem_handle,
 				       igt_fb_mod_to_tiling(fb->tiling),
 				       fb->strides[0]);
-			clear_yuv_buffer(fd);
+
+			if (igt_format_is_yuv(fb->drm_format))
+				clear_yuv_buffer(fb);
 
 			return fb->gem_handle;
 		} else {
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-05 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-05 13:22 [igt-dev] [PATCH i-g-t] lib/igt_fb: Fix merge of preliminary patches for clearing YUV Paul Kocialkowski
2019-02-05 13:30 ` Maxime Ripard
2019-02-05 13:45 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-02-05 16:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox