summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_edge_walk.c
diff options
context:
space:
mode:
authorSwati Sharma <swati2.sharma@intel.com>2019-07-25 13:13:51 +0530
committerRamalingam C <ramalingam.c@intel.com>2019-08-01 16:06:07 +0530
commitb646668b947851459e0aec0ecfc54e9ed5503bfc (patch)
treef10936688b9c629e344c5f294e1c388f0e9f0524 /tests/kms_cursor_edge_walk.c
parentc5814123b4b35c9cd6a6d3ce5bcbe94647c47530 (diff)
tests: Remove calls to igt_pipe_crc_drain()
Calls to igt_pipe_crc_drain + get_single are already replaced with igt_pipe_crc_get_current() in patch https://patchwork.freedesktop.org/patch/240651/?series=47129&rev=1 so removing igt_pipe_crc_drain() shouldn't matter since tests are using igt_pipe_crc_get_current() which will drain the old junk anyway. Its double to do drain + get_current(), so calls to drain() can be removed. Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Ramalingam C <ramalingam.c@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/319789/?series=64210&rev=1
Diffstat (limited to 'tests/kms_cursor_edge_walk.c')
-rw-r--r--tests/kms_cursor_edge_walk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/kms_cursor_edge_walk.c b/tests/kms_cursor_edge_walk.c
index 809dca42..87d17e06 100644
--- a/tests/kms_cursor_edge_walk.c
+++ b/tests/kms_cursor_edge_walk.c
@@ -114,8 +114,6 @@ static void test_edge_pos(data_t *data, int sx, int ex, int y, bool swap_axis)
dx = (ex - sx)/XSTEP;
- igt_pipe_crc_drain(data->pipe_crc);
-
i = 0;
for (x = sx; xdir * (x - ex) <= 0; x += dx) {