[Intel-gfx] [PATCH 1/3] drm/i915/guc: keep GuC doorbell & process descriptor mapped in kernel

2016-04-19 Thread Dave Gordon
Don't use kmap_atomic() for doorbell & process descriptor access. This patch fixes the BUG shown below, where the thread could sleep while holding a kmap_atomic mapping. In order not to need to call kmap_atomic() in this code path, we now set up a permanent kernel mapping of the shared doorbell and

Re: [Intel-gfx] [PATCH 1/3] drm/i915/guc: keep GuC doorbell & process descriptor mapped in kernel

2016-04-19 Thread Tvrtko Ursulin
On 19/04/16 16:08, Dave Gordon wrote: Don't use kmap_atomic() for doorbell & process descriptor access. This patch fixes the BUG shown below, where the thread could sleep while holding a kmap_atomic mapping. In order not to need to call kmap_atomic() in this code path, we now set up a permanent