Re: [Intel-gfx] [PATCH v3] drm/i915/lrc: Update PDPx registers with lri commands

2015-06-26 Thread Mika Kuoppala
Michel Thierry writes: > A safer way to update the PDPx registers is sending lri commands, added > in the ring before the batchbuffer start. Otherwise, the ctx must be idle > before trying to change anything (but the ring-tail) in the ctx image. An > example where the ctx won't be idle is lite-re

[Intel-gfx] [PATCH v3] drm/i915/lrc: Update PDPx registers with lri commands

2015-06-26 Thread Michel Thierry
A safer way to update the PDPx registers is sending lri commands, added in the ring before the batchbuffer start. Otherwise, the ctx must be idle before trying to change anything (but the ring-tail) in the ctx image. An example where the ctx won't be idle is lite-restore. This patch depends on 5b7