]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Use true PPGTT in Gen8+ when execlists are enabled
authorMichel Thierry <michel.thierry@intel.com>
Mon, 15 Dec 2014 14:58:00 +0000 (14:58 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Dec 2014 09:39:12 +0000 (10:39 +0100)
commit2f82bbdf3d4f1361c3d713c516d8aa390102374d
tree7f7e708ad5c834eb19be034e9857fd8c93726e15
parent98711167ce9e734dc0e41e158debb7f4c1269917
drm/i915: Use true PPGTT in Gen8+ when execlists are enabled

In Gen8+, full ppgtt needs execlist, otherwise the ctx switch can hang.

Also remove the current restriction, a user should be able to explicitly set
ppgtt=2.

Note, this patch considers that execlist support has been enabled by
default on Gen8.

v2: Remove non-default restriction and clarify commit message (Daniel)

Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
[danvet: s/comment/commit message/ in the commit message since that's
what Michel meant as per our irc discussion.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c