]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Group the GT routines together in both code and vtable
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 2 Jul 2012 14:51:02 +0000 (11:51 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Jul 2012 20:08:46 +0000 (22:08 +0200)
commitc3233e8fd41aed3eea6330096dc4a2a39c44c6d3
tree596748f31e6f00d21d59cd6c0cdcf9f08a28a219
parentace42b0f5bff025026fac7460d7fcbd86083b9f2
drm/i915: Group the GT routines together in both code and vtable

Tidy up the routines for interacting with the GT (in particular the
forcewake dance) which are scattered throughout the code in a single
structure.

v2: use wait_for_atomic for polling.

v3: *really* use wait_for_atomic for polling.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c