]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Also use async bind for PIN_USER into bsw/bxt ggtt
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 08:15:42 +0000 (08:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 15:10:02 +0000 (15:10 +0000)
commita34f61d2c0144c425306a4b6270ac7ce104ec8a0
tree596b821b44f46678d32657a2509c34a3739be0a3
parentd1b9b5f127bc3797fc274cfa4f363e039f045c3a
drm/i915/gt: Also use async bind for PIN_USER into bsw/bxt ggtt

In the rare cases where we are using the global GGTT for execution in
the selftests, we have marked them with PIN_USER knowing that they will
be bound as PIN_GLOBAL as well. However, we need to catch the extra flag
in deciding to use the async worker for such binds as well.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131081543.2251298-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ggtt.c