OSDN Git Service

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)
commite2a13d1b24073fe183ebe858ebb4fc827faded56
tree504c251b0178756bfea370613debba32580317da
parentd3f3e5e438d3ce47505db8b0a63d55629e48167e
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