public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/4] kms_plane: Remove redundant modeset after CRC capture
@ 2018-01-12 14:56 Imre Deak
  2018-01-12 14:56 ` [PATCH i-g-t 2/4] lib: Export helpers to get rotation/tiling strings Imre Deak
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Imre Deak @ 2018-01-12 14:56 UTC (permalink / raw)
  To: intel-gfx

The null modeset after capturing the CRC is redundant; detaching the FB
from the plane is enough for the next modeset to work properly. This
speed things up especially on slow panels.

Signed-off-by: Imre Deak <imre.deak@intel.com>
---
 tests/kms_plane.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 92bf67f1..0ebf4577 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -88,7 +88,6 @@ test_grab_crc(data_t *data, igt_output_t *output, enum pipe pipe,
 	igt_pipe_crc_collect_crc(data->pipe_crc, crc);
 
 	igt_plane_set_fb(primary, NULL);
-	igt_display_commit(&data->display);
 
 	igt_remove_fb(data->drm_fd, &fb);
 
-- 
2.13.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-01-12 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 14:56 [PATCH i-g-t 1/4] kms_plane: Remove redundant modeset after CRC capture Imre Deak
2018-01-12 14:56 ` [PATCH i-g-t 2/4] lib: Export helpers to get rotation/tiling strings Imre Deak
2018-01-12 14:56 ` [PATCH i-g-t 3/4] kms_plane: Split helpers creating reference FB and capturing CRC Imre Deak
2018-01-12 14:56 ` [PATCH i-g-t 4/4] kms_plane: Add clipping subtests Imre Deak
2018-01-12 15:36 ` ✓ Fi.CI.BAT: success for series starting with [1/4] kms_plane: Remove redundant modeset after CRC capture Patchwork
2018-01-12 17:25 ` ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox