[Intel-gfx] [PATCH v4] drm/i915/selftests: add basic selftests for rc6

2020-02-05 Thread Andi Shyti
From: Andi Shyti Add three basic tests for rc6 power status: 1. live_rc6_basic - simply checks if rc6 works when it's enabled or stops when it's disabled. 2. live_rc6_threshold - rc6 should not work when the evaluation interval is less than the threshold and should work otherwise. 3. liv

[Intel-gfx] [PATCH v4] drm/i915/selftests: add basic selftests for rc6

2020-02-04 Thread Andi Shyti
From: Andi Shyti Add three basic tests for rc6 power status: 1. live_rc6_basic - simply checks if rc6 works when it's enabled or stops when it's disabled. 2. live_rc6_threshold - rc6 should not work when the evaluation interval is less than the threshold and should work otherwise. 3. liv