summaryrefslogtreecommitdiff
path: root/shaders/media
diff options
context:
space:
mode:
authorDavid Weinehall <david.weinehall@intel.com>2015-02-11 16:46:02 +0200
committerImre Deak <imre.deak@intel.com>2015-02-24 16:46:22 +0200
commit7890b09348ce8d494298ac9a308df25d526fe3ea (patch)
tree02c60d24f49c7fec14e78d31121c9f8274c2a84f /shaders/media
parent5b93daf5cb40f79b948029588f059b0b61638590 (diff)
tests/drv_suspend: hibernation test
intel-gpu-tools currently has a bunch of tests for suspend, but currently none (that I could find) for hibernate. Attached is a rudimentary patch to add said test. It does so by repurposing the drv_suspend driver to handle both suspend and hibernate, since the difference is miniscule. I decided to split the suspend/autoresume functions in igt_aux.c though, to be able to leave the igt_system_uspend_autoresume() function unchanged (the other option would be to introduce a boolean function argument and have that decide what parameters to pass to rtcwake). The timeout passed to rtcwake probably needs tuning (it might even need to be dynamically adjusted, since the time hibernation takes varies wildly depending on the amount of non-cache memory in use). Signed-off-by: David Weinehall <david.weinehall@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'shaders/media')
0 files changed, 0 insertions, 0 deletions