]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Per-engine scratch VMA is mandatory
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 19 Jan 2018 10:00:04 +0000 (10:00 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 22 Jan 2018 17:15:31 +0000 (17:15 +0000)
commit210576483e5622e9284eb8259944d943e3400e25
tree99b4c7815149934df642875e9b354b36a584c101
parent26fa5c9cae93bb28fde0654cf08df140dccf6a69
drm/i915: Per-engine scratch VMA is mandatory

We fail engine initialization if the scratch VMA cannot be created so
there is no point in error handle it later. If the initialization ordering
gets messed up, we can explode during development just as well.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180119100005.9072-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_lrc.c