summaryrefslogtreecommitdiff
path: root/lib/igt_primes.c
diff options
context:
space:
mode:
authorJyoti Yadav <jyoti.r.yadav@intel.com>2019-09-19 23:00:31 +0530
committerPetri Latvala <petri.latvala@intel.com>2019-09-20 13:51:55 +0300
commit0f1e4a9635f35be751cf183b9dd42017da5697e4 (patch)
tree8435a6a7a5e76e915dcc6201689874d4738a6424 /lib/igt_primes.c
parentb2da6d45bd17d4a56952ac5fc7d5212231d09140 (diff)
tests/i915/i915_pm_dc: Added test for DC5 during DPMS
Added new subtest for DC5 entry during DPMS on/off cycle. During DPMS on/off cycle DC5 counter is incremented. v2: Rename the subtest with meaningful name. v3: Rebased. v4: Addressed review comments by removing leftover code cleanup(). v5: Addressed the review comment by removing redundant read_dc_counter() suggested by Imre. Listing actual change in patch set changelog to make review easier. v6: Three way patch applied, no functional change. v7: Disabling runtime suspend for the platform which support, DC9. rebased due to test name pm_dc changed to i915_pm_dc, aligning to other PM tests. v8: Introduced setup_dc_dpms() in order to disable runtime pm, restoring POWER_DIR values to its original and enabling runtime pm for other followed sub-tests. v9: Check DC5 counter value after DPMS off, broke the dpms_on_off function to dpms_on and dpms_off. [Imre] v10:Added AT_LEAST_Gen11 condition instead of IS_ICELAKE in order to disable runtime suspend. [Imre] v11:Added a cleanup_dc_dpms() function. [Imre] Signed-off-by: Jyoti Yadav <jyoti.r.yadav@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib/igt_primes.c')
0 files changed, 0 insertions, 0 deletions