]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Bump priority of clean up work
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Jul 2018 11:57:29 +0000 (12:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Aug 2018 12:57:31 +0000 (13:57 +0100)
commit849667b77387ca959e52b229a96b7d97a4759454
tree6c3834de0d7f69bfd429c3cad250fd768246c201
parentdc1e00dc21528f0ea72cb45406476d9beaea1114
drm/i915: Bump priority of clean up work

We require that we keep the list of outstanding work short so that we do
not "leak" memory while pageflipping under stress. However that system
stress may delay kernel workers virtually indefinitely, which incurs the
pageflips stall and eventually hit a timeout waiting for the cleanup.

Try to combat CPU starvation of our short-lived cleanup workers by
switching to a high priority workqueue.

Testcase: igt/kms_cursor_legacy/all-pipes-torture-move
References: https://bugs.freedesktop.org/show_bug.cgi?id=107122
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180712115729.3506-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_display.c