All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_hdr: Fix bpc-switch tests on AMD hardware
@ 2021-02-19 17:27 Jeremy Cline
  2021-02-19 18:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Jeremy Cline @ 2021-02-19 17:27 UTC (permalink / raw)
  To: igt-dev

Kernel commit b836a274b797 ("drm/amdgpu/dc: Require primary plane to be
enabled whenever the CRTC is") causes the bpc-switch tests to fail,
since the primary plane fb is being removed, which leads to the next
atomic commit failing with -EINVAL.

This stops the removal of the primary plane fb before switching to 10
bits per component and the test now runs successfully.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
---
 tests/kms_hdr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c
index e9dd7f27..70a4b456 100644
--- a/tests/kms_hdr.c
+++ b/tests/kms_hdr.c
@@ -223,8 +223,6 @@ static void test_bpc_switch_on_output(data_t *data, igt_output_t *output,
 			data->h = afb.height;
 		}
 
-		igt_plane_set_fb(data->primary, NULL);
-
 		/*
 		 * i915 driver doesn't expose max bpc as debugfs entry,
 		 * so limiting assert only for amd driver.
-- 
2.30.1

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

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2021-03-11  9:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 17:27 [igt-dev] [PATCH i-g-t] tests/kms_hdr: Fix bpc-switch tests on AMD hardware Jeremy Cline
2021-02-19 18:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-02-19 19:35 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-02-19 22:00   ` Jeremy Cline
2021-03-05 16:42 ` [igt-dev] [PATCH i-g-t v2 0/2] Fix up the HDR tests for AMD devices Jeremy Cline
2021-03-05 16:42   ` [igt-dev] [PATCH i-g-t v2 1/2] kms_hdr: Skip HDR tests on pre-Kaby Lake Intel devices Jeremy Cline
2021-03-08  8:47     ` Petri Latvala
2021-03-08 12:41       ` Sharma, Swati2
2021-03-08 12:53         ` Petri Latvala
2021-03-08 15:06           ` Jeremy Cline
2021-03-09 14:01             ` Petri Latvala
2021-03-10 12:48               ` Shankar, Uma
2021-03-10 12:53                 ` Petri Latvala
2021-03-10 14:55                   ` Sharma, Swati2
2021-03-05 16:42   ` [igt-dev] [PATCH i-g-t v2 2/2] kms_hdr: Fix bpc-switch tests on AMD hardware Jeremy Cline
2021-03-05 16:48     ` Kazlauskas, Nicholas
2021-03-05 17:17 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_hdr: Fix bpc-switch tests on AMD hardware (rev2) Patchwork
2021-03-05 21:42 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-03-10 16:34 ` [igt-dev] [PATCH i-g-t v3] tests/kms_hdr: Fix bpc-switch tests on AMD hardware Jeremy Cline
2021-03-10 16:38   ` Shankar, Uma
2021-03-10 16:45 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_hdr: Fix bpc-switch tests on AMD hardware (rev3) Patchwork
2021-03-11  9:01   ` Petri Latvala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.