]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Avoid concurrent access when marking the device as idle/busy
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Jul 2012 11:31:41 +0000 (12:31 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:56 +0000 (18:23 +0200)
commit47fe2f68d53dc7fd044b68dc1a81bbe773d13ba9
tree36a445f1d0bdf1bf37321d55ebfda84475c34b1c
parent1539deaeeb9a8c9bfc7f4193a249c57a0e3c39f3
drm/i915: Avoid concurrent access when marking the device as idle/busy

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 overall activity tracking of the driver.

v2: Complete overhaul and removal of the racy timers and workers.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c