]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Call io_schedule() whilst whilsting for the GPU
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Oct 2013 08:58:46 +0000 (09:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Oct 2013 10:46:47 +0000 (12:46 +0200)
commit3a3ad8aad18a7f30b31fa2a5e2fa6c9f2c4acede
tree9cfc8ad023a10e62c2c43d1c5695faaf29795b43
parentbe1ec9563ad16e618f66a7625c5d331304c32a14
drm/i915: Call io_schedule() whilst whilsting for the GPU

Since we are waiting upon IO completion, inform the kernel through use
of the io_schedule() call rather than the regular schedule(). This
should allow the kernel to make better decisions regarding scheduling
and power management.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c