]> 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)
commit11776c7b32789c2a5fb323a7d9eef1e28bac9e90
tree31f19cd5d5052ae9328b004e28c4833160cb1456
parent76e9fcddc92c0fc7b39f73193e4dd93a66d5eb6c
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