drm/i915: Add dev to ppgtt
authorBen Widawsky <ben@bwidawsk.net>
Mon, 24 Sep 2012 15:55:51 +0000 (08:55 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:10 +0000 (23:51 +0100)
commit8f2c59f0aa3acefbd26443860245c014fa64549b
tree2e73d22d3d9d3aef37d91868644790511e04a461
parent8693607ae4efe065aa65e26fd6dda8aab7e18ea7
drm/i915: Add dev to ppgtt

Some subsequent commits will need to know what generation we're running
on to do different pte encoding for the ppgtt. Since it's not much
hassle or overhead to store it in the ppgtt structure, do that.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c