aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2013-07-30 19:04:37 +0100
committerDaniel Vetter <[email protected]>2013-08-04 21:29:57 +0200
commit08c45263a62af33348e674765710cb49dd3959e0 (patch)
tree205b99c6ade4e9efebf58c1a45cda4f74da663a2 /include/linux
parent29ebf90f8157f9d01dda2b1555b4a08e9e542b21 (diff)
drm/i915: Use the same pte_encoding for ppgtt as for gtt
The PTE layouts are the same for both ppgtt and gtt, so we can simplify the setup for ppgtt by copying the encoding function pointer from gtt. This prevents bugs where we update one function pointer, but forget the other. For instance, commit 4d15c145a6234d999c0452eec0d275c1fbf0688c Author: Ben Widawsky <[email protected]> Date: Thu Jul 4 11:02:06 2013 -0700 drm/i915: Use eLLC/LLC by default when available only extends the gtt to use eLLC/LLC cacheing and forgets to also update the ppgtt function pointer. v2: Actually mention the bug being fixed (Kenneth) Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Ben Widawsky <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions