public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Subject: [igt-dev] [PATCH i-g-t v26 04/17] lib/intel_bufops: add support for 64bit bpp
Date: Tue,  4 Aug 2020 11:41:15 +0200	[thread overview]
Message-ID: <20200804094128.31242-5-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20200804094128.31242-1-zbigniew.kempczynski@intel.com>

Previous assert checking was to narrow and it didn't support 64bpp.
Some kms tests use 64bpp so extend the assert.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 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 c641dba4..35e3c0d2 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

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

  parent reply	other threads:[~2020-08-04  9:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-04  9:41 [igt-dev] [PATCH i-g-t v26 00/17] Remove libdrm in rendercopy Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 01/17] lib/intel_bufops: add mapping on cpu / device Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 02/17] lib/intel_bufops: change in hw/sw tiling detection Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 03/17] lib/intel_bufops: change stride requirements for Grantsdale Zbigniew Kempczyński
2020-08-04  9:41 ` Zbigniew Kempczyński [this message]
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 05/17] lib/intel_batchbuffer: add new functions to support rendercopy Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 06/17] lib/intel_batchbuffer: dump bb to base64 Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 07/17] lib/intel_batchbuffer: use canonical addresses for 48bit ppgtt Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 08/17] tests/api_intel_bb: test flags are cleared on bb reset Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 09/17] tests/gem_caching|partial: adopt to batch flush function cleanup Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 10/17] lib/rendercopy: remove libdrm dependency Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 11/17] tests/api_intel_bb: add render tests Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 12/17] lib/igt_draw: remove libdrm dependency Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 13/17] lib/igt_fb: Removal of " Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 14/17] tests/gem|kms: remove libdrm dependency (batch 1) Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 15/17] tests/gem|kms: remove libdrm dependency (batch 2) Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 16/17] tools/intel_residency: adopt intel_residency to use bufops Zbigniew Kempczyński
2020-08-04  9:41 ` [igt-dev] [PATCH i-g-t v26 17/17] tests/perf: remove libdrm dependency for rendercopy Zbigniew Kempczyński
2020-08-04 10:21 ` [igt-dev] ✓ Fi.CI.BAT: success for Remove libdrm in rendercopy (rev25) Patchwork
2020-08-04 13:22 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-08-05 10:01   ` Zbigniew Kempczyński
2020-08-06  0:28     ` Umesh Nerlige Ramappa

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=20200804094128.31242-5-zbigniew.kempczynski@intel.com \
    --to=zbigniew.kempczynski@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --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