]> 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)
commit7f177bb719e06510192d59b73d2cafebdf6a9a84
tree504c251b0178756bfea370613debba32580317da
parentd0eff0d2a3c6b21d4dbe106d1f155d0e9f6076f9
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