]> git.karo-electronics.de Git - karo-tx-linux.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)
commitb5c621584ba57e6112864dcd79b71020c9525f6a
tree31f19cd5d5052ae9328b004e28c4833160cb1456
parent5774506f157a91400c587b85d1ce4de56f0d32f6
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