]> 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)
commit2af63a004c184f34e7bee07006122ade8caf9dd9
tree596b821b44f46678d32657a2509c34a3739be0a3
parent430ac5dd49022156526cee1fb204ff7ce9e4353c
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