]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Determine uses-full-ppgtt from context for execbuf
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 1 Sep 2018 09:24:51 +0000 (10:24 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Sep 2018 09:08:53 +0000 (10:08 +0100)
commit035bdc679957d5a78d71f699a778ad7eb1133239
tree5f6f284b1b006f5100b2b6dd99cea3d7a1401b3d
parent79bda41de9023959e7117668a84b88403f7bb3e5
drm/i915: Determine uses-full-ppgtt from context for execbuf

Rather than inspect the global module parameter for whether full-ppgtt
maybe enabled, we can inspect the context directly as to whether it has
its own vm.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Bob Paauwe <bob.j.paauwe@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180901092451.7233-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_execbuffer.c