]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Split out Haswell code from gen6_pte_encode.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 22 Apr 2013 07:53:51 +0000 (00:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Apr 2013 09:44:21 +0000 (11:44 +0200)
commit9119708cd484923bbc45fa60740bff58b358b848
tree1315462c10274d4c27b2e36ce109f09c20696c77
parent93c34e70ebf464a9ee142d93b681c5df094ec654
drm/i915: Split out Haswell code from gen6_pte_encode.

Now that we have function pointers, it's cleaner to just create a new
per-platform PTE encoding function.

This should be identical in behavior to the previous code.

v2: Drop accidental inline keyword on hsw_pte_encode.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Daniel Leung <daniel.leung@linux.intel.com> [v1]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c