[Intel-gfx] [PATCH i-g-t v4 0/1] Add a lib for power management helpers

David Weinehall david.weinehall at linux.intel.com
Thu Feb 18 11:08:45 UTC 2016


This patch aims to create a separate lib for power management related
helpers. Initially it only contains code that modify settings for
external components (to handle components with default settings that
prevents entering deeper sleep states), but moving i915-related
power management helpers to this lib would probably make sense too.

v2: Change name of library to igt_pm
    Namespace all exported functions with igt_pm_

v3: Include igt_pm.xml in intel-gpu-tools-docs.xml
    Free pm_data
    Fixed a few typos

v4: Rebased
    Fixed another typo

David Weinehall (1):
  lib/igt_pm: Lib for power management

 .../intel-gpu-tools/intel-gpu-tools-docs.xml       |   1 +
 lib/Makefile.sources                               |   2 +
 lib/igt.h                                          |   1 +
 lib/igt_aux.c                                      |  15 +-
 lib/igt_pm.c                                       | 233 +++++++++++++++++++++
 lib/igt_pm.h                                       |  31 +++
 tests/pm_lpsp.c                                    |  25 +--
 tests/pm_rpm.c                                     |  40 +---
 8 files changed, 281 insertions(+), 67 deletions(-)
 create mode 100644 lib/igt_pm.c
 create mode 100644 lib/igt_pm.h

-- 
2.7.0



More information about the Intel-gfx mailing list