aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gpu_error.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2014-08-06 20:19:54 +0200
committerDaniel Vetter <[email protected]>2014-08-13 14:23:32 +0200
commitfa76da3499f1789f0e37d3bbcdc320bdf47c89ca (patch)
treeaf1b4963eea3d3dd3bbcd4530701b2cd506c666c /drivers/gpu/drm/i915/i915_gpu_error.c
parent82460d97246a993aa49e88bf9b4154cce60f8da8 (diff)
drm/i915: Initialize the aliasing ppgtt as part of global gtt
Stuffing this into the context setup code doesn't make a lot of sense. Also reusing the real ppgtt setup code makes even less sense since the aliasing ppgtt isn't a real address space. Leaving all that stuff unitialized will make sure that we catch any abusers promptly. This is also a prep work to clean up the context->ppgtt link. v2: Fix up the logic fail, I've fumbled it so badly to completely disable ppgtt on gen6. Spotted by Ville and Michel. Also move around the pde write into the gen6 init function, since otherwise it won't work at all. v3: Only initialize the aliasing ppgtt when we actually enable it. Cc: "Thierry, Michel" <[email protected]> Cc: Ville Syrjälä <[email protected]> Reviewed-by: Michel Thierry <[email protected]> [danvet: Squash in fixup from Fengguang Wu.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
0 files changed, 0 insertions, 0 deletions