From: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] lib/igt_fb: Fix merge of preliminary patches for clearing YUV
Date: Tue, 5 Feb 2019 14:22:05 +0100 [thread overview]
Message-ID: <20190205132205.20330-1-paul.kocialkowski@bootlin.com> (raw)
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
next reply other threads:[~2019-02-05 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-05 13:22 Paul Kocialkowski [this message]
2019-02-05 13:30 ` [igt-dev] [PATCH i-g-t] lib/igt_fb: Fix merge of preliminary patches for clearing YUV 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
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=20190205132205.20330-1-paul.kocialkowski@bootlin.com \
--to=paul.kocialkowski@bootlin.com \
--cc=igt-dev@lists.freedesktop.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