[1/4] kms_plane: Remove redundant modeset after CRC capture

Submitted by Imre Deak on Jan. 12, 2018, 2:56 p.m.


Message ID 20180112145653.16384-1-imre.deak@intel.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in IGT (deprecated)

Not browsing as part of any series.

Commit Message

Imre Deak Jan. 12, 2018, 2:56 p.m.
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(-)

Patch hide | download patch | download mbox

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);