From: David Weinehall <david.weinehall@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t v3] Add a lib for power management helpers
Date: Thu, 14 Jan 2016 13:30:53 +0200 [thread overview]
Message-ID: <1452771054-5810-1-git-send-email-david.weinehall@linux.intel.com> (raw)
In-Reply-To: <1452770705-5657-1-git-send-email-david.weinehall@linux.intel.com>
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: Various fixes based on feedback from Thomas Wood
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.rc3
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next parent reply other threads:[~2016-01-14 11:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1452770705-5657-1-git-send-email-david.weinehall@linux.intel.com>
2016-01-14 11:30 ` David Weinehall [this message]
2016-01-14 11:30 ` [PATCH i-g-t v3] lib/igt_pm: Lib for power management David Weinehall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452771054-5810-1-git-send-email-david.weinehall@linux.intel.com \
--to=david.weinehall@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox