drm/i915: Remove gen specific checks in MMIO
authorBen Widawsky <benjamin.widawsky@intel.com>
Sun, 6 Oct 2013 00:57:11 +0000 (17:57 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Oct 2013 10:47:10 +0000 (12:47 +0200)
commitab484f8fd62c97fc52dbb380d8b7cf3ff77b1e70
tree629b298922bc00509e6e30a1b0407e25992333ea
parent4032ef4315475dd9605d6cde461168fb85d776ea
drm/i915: Remove gen specific checks in MMIO

Now that MMIO has been split up into gen specific functions it is
obvious when HAS_FPGA_DBG_UNCLAIMED, HAS_FORCE_WAKE are needed. As such,
we can remove this extraneous condition.

As a result of this, as well as previously existing function pointers
for forcewake, we no longer need the has_force_wake member in the device
specific data structure.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_uncore.c