[PATCH] [RFC] sched/drm: add infrastructure for gpu waits

2012-05-08 Thread Daniel Vetter
This is a quick hack inspired by Arjan to help the ondemand cpufreq governor a bit in figuring out what should be done. A similar trick is used for io related waits to ensure that the cpu can pick up right away. Some benchmarking shows squat gains, and for the bugs we manage to track down to

[PATCH] [RFC] sched/drm: add infrastructure for gpu waits

2012-05-08 Thread Daniel Vetter
This is a quick hack inspired by Arjan to help the ondemand cpufreq governor a bit in figuring out what should be done. A similar trick is used for io related waits to ensure that the cpu can pick up right away. Some benchmarking shows squat gains, and for the bugs we manage to track down to