From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] lib/veboxcopy: Add packed 64bpp 16b per channel yuv support
Date: Tue, 30 May 2023 15:04:40 +0300 [thread overview]
Message-ID: <20230530120440.5259-1-juhapekka.heikkila@gmail.com> (raw)
Enable Vebox engine to copy packed 64bpp yuv surfaces.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
lib/veboxcopy_gen12.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/veboxcopy_gen12.c b/lib/veboxcopy_gen12.c
index 4ab6ced3..44c914e7 100644
--- a/lib/veboxcopy_gen12.c
+++ b/lib/veboxcopy_gen12.c
@@ -30,6 +30,7 @@
#define PLANAR_420_8 4
#define PACKED_444A_8 5
#define R8G8B8A8_UNORM 8
+#define PACKED_444_16 9
#define PLANAR_420_16 12
struct vebox_surface_state {
@@ -342,6 +343,10 @@ void gen12_vebox_copyfunc(struct intel_bb *ibb,
format = src->format_is_yuv ? PACKED_444A_8 :
R8G8B8A8_UNORM;
break;
+ case 64:
+ igt_assert(!src->format_is_yuv_semiplanar && src->format_is_yuv);
+ format = PACKED_444_16;
+ break;
default:
igt_assert_f(0, "Unsupported bpp: %u\n", src->bpp);
}
--
2.25.1
next reply other threads:[~2023-05-30 12:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-30 12:04 Juha-Pekka Heikkila [this message]
2023-05-30 12:59 ` [igt-dev] [PATCH i-g-t] lib/veboxcopy: Add packed 64bpp 16b per channel yuv support Kahola, Mika
2023-05-30 19:00 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-31 18:49 ` [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=20230530120440.5259-1-juhapekka.heikkila@gmail.com \
--to=juhapekka.heikkila@gmail.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