drm/i915: Move edram detection early_sanitize
authorBen Widawsky <benjamin.widawsky@intel.com>
Sat, 5 Oct 2013 04:22:50 +0000 (21:22 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Oct 2013 10:47:07 +0000 (12:47 +0200)
commit18ce39943eb82e457e4c46dc86b1975d79b30aa7
treea3b003c78bac5368e7e6cec97dcad1784a16b2e5
parent78511f2a6fc6960c8917d9655fffb687822a0225
drm/i915: Move edram detection early_sanitize

In order to be able to have virtual functions for the MMIO, we need to
use the raw access function. To keep things simple, just move this to
our early_sanitize code in uncore.

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_dma.c
drivers/gpu/drm/i915/intel_uncore.c