drm/i915: Drop dev from pte_encode
authorBen Widawsky <ben@bwidawsk.net>
Thu, 27 Jun 2013 23:30:19 +0000 (16:30 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:27:59 +0000 (11:27 +0200)
commit80a74f7f9c3e57123b6c3d314d4340fc8195a524
treefb104d46fad94a7ae41a22f4d8fadfa4c8bc680f
parent67167240063c9eff15d60754c8d786a7a237ffa2
drm/i915: Drop dev from pte_encode

The original pte_encode function needed the dev argument so we could do
platform specific handling via IS_GENX, etc. With the merging of a pte
encoding function there should never been a need to quirk away gen
specific details.

The patch doesn't do much but makes the upcoming reworks in gtt/ppgtt/mm
slightly (albeit, ever so) easier.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c