Re: [Intel-gfx] [PATCH 2/4] drm/i915/execlists: Reduce completed event mask to COMPLETE | PREEMPTED

2017-11-20 Thread Joonas Lahtinen
On Mon, 2017-11-20 at 12:34 +, Chris Wilson wrote: > Since we get a COMPLETE event when the context switch occurs on > RING_HEAD == RING_TAIL and a PREEMPTED event when a switch occurs > before that point COMPLETE | PREEMPTED should cover all possible context > switch completion events. We can

[Intel-gfx] [PATCH 2/4] drm/i915/execlists: Reduce completed event mask to COMPLETE | PREEMPTED

2017-11-20 Thread Chris Wilson
Since we get a COMPLETE event when the context switch occurs on RING_HEAD == RING_TAIL and a PREEMPTED event when a switch occurs before that point COMPLETE | PREEMPTED should cover all possible context switch completion events. We can move the ELEMENT_SWITCH info message from the COMPLETED_MASK in