From: Karolina Stolarek <karolina.stolarek@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Inform about unsupported bpp
Date: Tue, 11 Jul 2023 13:45:18 +0200 [thread overview]
Message-ID: <20230711114518.93415-1-karolina.stolarek@intel.com> (raw)
Log a message when we request an invalid pixel depth in
intel_bb_emit_blt_copy().
Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
---
lib/intel_batchbuffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 0e92c6f70..0408d62ba 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -2742,7 +2742,7 @@ void intel_bb_emit_blt_copy(struct intel_bb *ibb,
XY_SRC_COPY_BLT_WRITE_RGB);
break;
default:
- igt_fail(IGT_EXIT_FAILURE);
+ igt_assert_f(0, "Unsupported pixel depth\n");
}
} else {
br13_bits = fast_copy_dword1(ibb->fd, src->tiling, dst->tiling, bpp);
--
2.25.1
next reply other threads:[~2023-07-11 11:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 11:45 Karolina Stolarek [this message]
2023-07-11 13:46 ` [igt-dev] ○ CI.xeBAT: info for lib/intel_batchbuffer: Inform about unsupported bpp Patchwork
2023-07-11 13:53 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-07-11 16:37 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2023-07-11 17:38 ` [igt-dev] ✗ Fi.CI.IGT: failure for " Patchwork
2023-07-12 6:34 ` Karolina Stolarek
2023-07-12 10:17 ` Yedireswarapu, SaiX Nandan
2023-07-12 10:15 ` [igt-dev] ✓ Fi.CI.IGT: success " 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=20230711114518.93415-1-karolina.stolarek@intel.com \
--to=karolina.stolarek@intel.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