summaryrefslogtreecommitdiff
path: root/tests/kms_pipe_crc_basic.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-03-09 09:23:18 +0100
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-03-14 16:14:48 +0100
commit5c146fcff2d51ea426efc538599013e887fe456b (patch)
treeb78f706b23bfcba8b1617978b7b679524097695f /tests/kms_pipe_crc_basic.c
parent518ccf1d1b452b9d26ddcf54249fb6e91f451f90 (diff)
tests/kms_pipe_crc_basic: Remove legacy crc tests
Commit 8c6b709d96cb9 ("drm/i915: Use new CRC debugfs API") has been in the kernel for more than a year. In commit 6d16875736b9f ("lib/igt_debugfs: Remove support for legacy CRC api.") we've removed support for the legacy CRC testing and we're about to remove the last remnants from the kernel, so it's time to remove the last tests for legacy CRC as well. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_pipe_crc_basic.c')
-rw-r--r--tests/kms_pipe_crc_basic.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index eaa5e316..235fdc38 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -46,13 +46,6 @@ static struct {
{ .r = 0.0, .g = 1.0, .b = 1.0 },
};
-static void test_bad_command(data_t *data, const char *cmd)
-{
- igt_assert(!igt_sysfs_set(data->debugfs, "i915_display_crc_ctl", cmd));
- igt_skip_on(errno == ENOENT);
- igt_assert(errno == EINVAL);
-}
-
static void test_bad_source(data_t *data)
{
igt_assert(igt_sysfs_set(data->debugfs, "crtc-0/crc/control", "foo"));
@@ -193,18 +186,9 @@ igt_main
data.debugfs = igt_debugfs_dir(data.drm_fd);
}
- igt_subtest("bad-pipe")
- test_bad_command(&data, "pipe D none");
-
igt_subtest("bad-source")
test_bad_source(&data);
- igt_subtest("bad-nb-words-1")
- test_bad_command(&data, "pipe foo");
-
- igt_subtest("bad-nb-words-3")
- test_bad_command(&data, "pipe A none option");
-
igt_skip_on_simulation();
for (int i = 0; i < 3; i++) {