[igt-dev] [PATCH i-g-t v22 17/19] fix: lib/intel_bufops: add 64bit bpp

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Sun Aug 2 15:23:07 UTC 2020


to be squashed
---
 lib/intel_bufops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/intel_bufops.c b/lib/intel_bufops.c
index d077b1ac..681e46df 100644
--- a/lib/intel_bufops.c
+++ b/lib/intel_bufops.c
@@ -706,7 +706,7 @@ static void __intel_buf_init(struct buf_ops *bops,
 	igt_assert(bops);
 	igt_assert(buf);
 	igt_assert(width > 0 && height > 0);
-	igt_assert(bpp == 8 || bpp == 16 || bpp == 32);
+	igt_assert(bpp == 8 || bpp == 16 || bpp == 32 || bpp == 64);
 	igt_assert(alignment % 2 == 0);
 
 	memset(buf, 0, sizeof(*buf));
-- 
2.26.0



More information about the igt-dev mailing list