Re: [Intel-gfx] [PATCH] drm/i915: Remove insert-page shortcut from execbuf relocate_iomap()

2016-10-28 Thread Tvrtko Ursulin
On 28/10/16 15:27, Chris Wilson wrote: We are not allowed to touch the GTT entries underneath an atomic section, as they take a rpm wakelock (which is illegal from atomic context) and in the near future acquiring the DMA address for a page within an object may sleep for an allocation. This make

[Intel-gfx] [PATCH] drm/i915: Remove insert-page shortcut from execbuf relocate_iomap()

2016-10-28 Thread Chris Wilson
We are not allowed to touch the GTT entries underneath an atomic section, as they take a rpm wakelock (which is illegal from atomic context) and in the near future acquiring the DMA address for a page within an object may sleep for an allocation. This makes the current shortcircuit in relocation_io