[igt-dev] [PATCH i-g-t] tests/kms_ccs: Avoid skips when testing with lower resolution panels
Mika Kahola
mika.kahola at intel.com
Mon Sep 30 11:24:00 UTC 2019
The subtest pipe-*-bad-aux-stride skips when testing with lower resolution
panels such as
Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
Modeline "800x600": 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
Modeline "848x480": 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
This is due to limitation on maximum sprite plane width, which is limited
to 2000. Let's downgrade the limit to 800 in order to test with panels
supporting 1024x768 resolution.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111335
Signed-off-by: Mika Kahola <mika.kahola at intel.com>
---
tests/kms_ccs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index 1ce66cde..2e39f2e0 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -82,7 +82,7 @@ static const uint64_t ccs_modifiers[] = {
* comment saying:
* "Requested display configuration exceeds system watermark limitations"
*/
-#define MAX_SPRITE_PLANE_WIDTH 2000
+#define MAX_SPRITE_PLANE_WIDTH 800
static void addfb_init(struct igt_fb *fb, struct drm_mode_fb_cmd2 *f)
{
--
2.17.1
More information about the igt-dev
mailing list