[igt-dev] [PATCH i-g-t v1 0/6] Added new test file pm_dc.c.

Dhinakaran Pandiyan dhinakaran.pandiyan at intel.com
Thu Oct 4 00:22:48 UTC 2018


On Wednesday, September 26, 2018 8:59:17 AM PDT Jyoti Yadav wrote:
> This patch series adds new tests to validate Display C states.
> Mainly DC5 and Dc6 for various platforms like Icelake, Skylake,
> Broxton.

Another useful sub-test is to check vblank count has incremented across DC6 
entry-exit. We had to workaround the issue of frame counter getting zeroed in 
the driver, it'll be good to have a test to make sure it keeps working.

-DK


> 
> Jyoti Yadav (6):
>   [intel-gfx][igt-dev] lib/igt_pm : Moves Dmc_loaded() function into
>     library.      Because it will be used by new test pm_dc.c which will
>     validate Display C States.
>   [intel-gfx][igt-dev] tests/pm_dc : Added new test to verify Display C
>     States.     Currently this test validate DC5 upon PSR entry for
>     Icelake, Skylake and Broxton platform.
>   [intel-gfx][igt-dev] tests/pm_dc : Added test to validate DC6 state
>      on Gen11 platform. On Gen11 Platform, DC6 is achieved with PSR
>     entry.
>   [intel-gfx][intel-dev] tests/pm_dc : This patch adds test to validate
>        DC6 on SKL. DC6 on SKL is achieved with RPM enabled and DPMS OFF
>     sequence.
>   [intel-gfx][igt-dev] lib/intel_reg : This patch adds Display C States
>     related residency counters.
>   [intel-gfx][igt-dev] tests/Makefile : Added new file tests/pm_dc.c for
>     compilation.
> 
>  lib/igt_pm.c           |  29 +++++++
>  lib/igt_pm.h           |   1 +
>  lib/intel_reg.h        |   5 ++
>  tests/Makefile.sources |   1 +
>  tests/pm_dc.c          | 224
> +++++++++++++++++++++++++++++++++++++++++++++++++ tests/pm_rpm.c         | 
> 17 +---
>  6 files changed, 261 insertions(+), 16 deletions(-)
>  create mode 100644 tests/pm_dc.c






More information about the igt-dev mailing list