summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
authorSwati Sharma <swati2.sharma@intel.com>2019-12-02 19:33:16 +0530
committerPetri Latvala <petri.latvala@intel.com>2019-12-03 11:13:27 +0200
commitc7cb730383baae21f9dab4319f51a7e9dce0a843 (patch)
tree71536dbea56d243ef2827dc87c475270150b8c2a /lib/igt_aux.c
parent2a99cbbdc40bd5fefe54385f884f132274cf3acf (diff)
lib: remove igt_skip_on_simulation
Removing igt_skip_on_simulation() from lib since this feature is not supported anymore. Func() defination hasn't been removed since it can be used by some other drivers (currently amd is using this function). v2: Rebase Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Karthik B S <karthik.b.s@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r--lib/igt_aux.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index a6b114ed..1a564844 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -854,11 +854,6 @@ void igt_system_suspend_autoresume(enum igt_suspend_state state,
int power_dir;
enum igt_suspend_test orig_test;
- /* FIXME: Simulation doesn't like suspend/resume, and not even a lighter
- * approach using /sys/power/pm_test to just test our driver's callbacks
- * seems to fare better. We need to investigate what's going on. */
- igt_skip_on_simulation();
-
igt_require((power_dir = open("/sys/power", O_RDONLY)) >= 0);
igt_require(get_supported_suspend_states(power_dir) & (1 << state));
igt_require(test == SUSPEND_TEST_NONE ||
@@ -909,8 +904,6 @@ void igt_set_autoresume_delay(int delay_secs)
int delay_fd;
char delay_str[10];
- igt_skip_on_simulation();
-
delay_fd = open("/sys/module/suspend/parameters/pm_test_delay", O_RDWR);
if (delay_fd >= 0) {