]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit990bbdadabaa51828e475eda86ee5720a4910cc3
tree596748f31e6f00d21d59cd6c0cdcf9f08a28a219
parent146937e5828ede495e11ba3a6f4a01b36b7166dc
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