]> git.baikalelectronics.ru Git - kernel.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)
commite371bf0c20c3cb6990dc406c95f39cc5b73b19cc
tree7f7e708ad5c834eb19be034e9857fd8c93726e15
parent9ee25a7112f331e49a63db25caf2797a160c9a8c
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