forked from Minki/linux
drm/i915: Include fence signaled bit in print_request()
Show the fence flags view of request completion in addition to the normal hwsp check and whether signaling is enabled. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190501114541.10077-2-chris@chris-wilson.co.uk
This commit is contained in:
parent
cfda08cdac
commit
8c334f24e3
@ -1229,8 +1229,11 @@ static void print_request(struct drm_printer *m,
|
|||||||
i915_request_completed(rq) ? "!" :
|
i915_request_completed(rq) ? "!" :
|
||||||
i915_request_started(rq) ? "*" :
|
i915_request_started(rq) ? "*" :
|
||||||
"",
|
"",
|
||||||
|
test_bit(DMA_FENCE_FLAG_SIGNALED_BIT,
|
||||||
|
&rq->fence.flags) ? "+" :
|
||||||
test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT,
|
test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT,
|
||||||
&rq->fence.flags) ? "+" : "",
|
&rq->fence.flags) ? "-" :
|
||||||
|
"",
|
||||||
buf,
|
buf,
|
||||||
jiffies_to_msecs(jiffies - rq->emitted_jiffies),
|
jiffies_to_msecs(jiffies - rq->emitted_jiffies),
|
||||||
name);
|
name);
|
||||||
|
Loading…
Reference in New Issue
Block a user