All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] RFC: split PM workarounds into separate lib
@ 2015-12-08  8:50 David Weinehall
  2015-12-08  8:50 ` [PATCH i-g-t] lib/pm_workarounds: Lib for PM workarounds David Weinehall
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: David Weinehall @ 2015-12-08  8:50 UTC (permalink / raw)
  To: intel-gfx

Since the defaults for some external power management related settings
prevents us from testing our power management functionality properly,
we have to work around it. Currently this is done from the individual
test cases, but this is sub-optimal.  This patch moves the PM-related
workarounds into a separate library, and adds some code to restore the
previous settings for the SATA link power management while at it.

This patch should be seen as a RFC; there might be other workarounds
for external issues that should be moved into the library, and if those
workarounds aren't related to power management it might be better to
choose a different name for the library.

David Weinehall (1):
  lib/pm_workarounds: Lib for PM workarounds

 lib/Makefile.sources |   2 +
 lib/igt.h            |   1 +
 lib/igt_aux.c        |  15 +---
 lib/pm_workarounds.c | 233 +++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/pm_workarounds.h |  31 +++++++
 tests/pm_lpsp.c      |  25 +-----
 tests/pm_rpm.c       |  29 ++-----
 7 files changed, 279 insertions(+), 57 deletions(-)
 create mode 100644 lib/pm_workarounds.c
 create mode 100644 lib/pm_workarounds.h

-- 
2.6.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-02-11  8:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-08  8:50 [PATCH i-g-t] RFC: split PM workarounds into separate lib David Weinehall
2015-12-08  8:50 ` [PATCH i-g-t] lib/pm_workarounds: Lib for PM workarounds David Weinehall
2015-12-08 13:22 ` [PATCH i-g-t] RFC: split PM workarounds into separate lib Zanoni, Paulo R
2015-12-10 16:05   ` David Weinehall
2015-12-08 13:42 ` Ville Syrjälä
2015-12-08 19:05   ` Paulo Zanoni
2015-12-10 10:09     ` Daniel Vetter
2015-12-10 15:55       ` David Weinehall
2015-12-10 16:01   ` David Weinehall
2015-12-11 17:03     ` Daniel Vetter
2015-12-15  9:14 ` [PATCH i-g-t v2] Add a lib for power management helpers David Weinehall
2015-12-15  9:14   ` [PATCH i-g-t] lib/igt_pm: Lib for power management David Weinehall
2015-12-18 19:27     ` Thomas Wood
2016-02-11  7:25 ` [PATCH v3 0/1] Add a lib for power management helpers David Weinehall
2016-02-11  7:25   ` [PATCH v3 1/1] lib/igt_pm: Lib for power management David Weinehall
2016-02-11  8:27   ` [PATCH v3 0/1] Add a lib for power management helpers Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.