]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ringbuffer: Reload PDs harder on byt/bcs
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 10 Sep 2018 13:08:08 +0000 (14:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Sep 2018 10:02:08 +0000 (11:02 +0100)
commit9a304c99daeb19b34a1bcab41261247151cad337
tree504c251b0178756bfea370613debba32580317da
parent5d7e381a476d2bea41f3bca05b477d214e8887c3
drm/i915/ringbuffer: Reload PDs harder on byt/bcs

Baytrail takes a little more convincing that it needs to actually reload
its Page Directoy (ppGTT) before the context switch, so repeat it until
it gets the message. Once again the arbitrary values here are
empirically derived.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107861
Testcase: igt/gem_exec_parallel/fds
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180910130808.10809-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c