[Intel-gfx] [PATCH] drm/i915: unbreak lastclose for failed driver init

2012-07-21 Thread Daniel Vetter
We now refuse to load on gen6+ if kms is not enabled: commit 26394d9251879231b85e6c8cf899fa43e75c68f1 Author: Daniel Vetter Date: Mon Mar 26 21:33:18 2012 +0200 drm/i915: refuse to load on gen6+ without kms Which results in the drm core calling our lastclose function to clean up the mess,

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add simulator's host bridge

2012-07-21 Thread Ben Widawsky
On Sat, 21 Jul 2012 10:42:13 +0100 Chris Wilson wrote: > On Fri, 20 Jul 2012 10:43:30 -0700, Ben Widawsky > wrote: > > Add the host bridge ID used by the simulator. This was added in a > > previous patch for the agp layer, but wasn't preserved here. It > > also gives us an opportunity to let th

[Intel-gfx] [PATCH] drm/i915: Avoid concurrent access when marking the device as idle/busy

2012-07-21 Thread Chris Wilson
As suggested by Daniel, rip out the independent timers for device and crtc busyness and integrate the manual powermanagement of the display engine into the GEM core and its request tracking. The benefits are that the code is a lot smaller, fewer moving parts and should fit more neatly into the over

Re: [Intel-gfx] [PATCH 10/10] drm/i915: Split i915_gem_flush_ring() into seperate invalidate/flush funcs

2012-07-21 Thread Daniel Vetter
On Fri, Jul 20, 2012 at 12:41:08PM +0100, Chris Wilson wrote: > By moving the function to intel_ringbuffer and currying the appropriate > parameter, hopefully we make the callsites easier to read and > understand. > > Signed-off-by: Chris Wilson I've queued up the entire series, safe for the lit

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add simulator's host bridge

2012-07-21 Thread Chris Wilson
On Fri, 20 Jul 2012 10:43:30 -0700, Ben Widawsky wrote: > Add the host bridge ID used by the simulator. This was added in a > previous patch for the agp layer, but wasn't preserved here. It also > gives us an opportunity to let the rest of the driver know we're running > as the simulator for vari