]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use pci_resource functions for BARs.
authorBen Widawsky <ben@bwidawsk.net>
Mon, 19 Nov 2012 20:23:44 +0000 (12:23 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Nov 2012 16:47:14 +0000 (17:47 +0100)
commitb5776f9928f9448a3e8e1090be096cf8134c06f6
tree31f19cd5d5052ae9328b004e28c4833160cb1456
parentedb09f8996a17ae8c960386fed455f8355496460
drm/i915: Use pci_resource functions for BARs.

This was leftover crap from kill-agp. The current code is theoretically
broken for 64b bars. (I resist removing theoretically because I am too
lazy to test).

We still need to ioremap things ourselves because we want to ioremap_wc
the PTEs.

v2: Forgot to kill the tmp variable in v1

CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c