diff options
-rw-r--r-- | drivers/gpu/drm/i915/intel_lrc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index dc8dadd75052..739c33b07c59 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c | |||
@@ -861,9 +861,10 @@ static void execlists_submission_tasklet(unsigned long data) | |||
861 | */ | 861 | */ |
862 | 862 | ||
863 | status = READ_ONCE(buf[2 * head]); /* maybe mmio! */ | 863 | status = READ_ONCE(buf[2 * head]); /* maybe mmio! */ |
864 | GEM_TRACE("%s csb[%d]: status=0x%08x:0x%08x\n", | 864 | GEM_TRACE("%s csb[%d]: status=0x%08x:0x%08x, active=0x%x\n", |
865 | engine->name, head, | 865 | engine->name, head, |
866 | status, buf[2*head + 1]); | 866 | status, buf[2*head + 1], |
867 | execlists->active); | ||
867 | 868 | ||
868 | if (status & (GEN8_CTX_STATUS_IDLE_ACTIVE | | 869 | if (status & (GEN8_CTX_STATUS_IDLE_ACTIVE | |
869 | GEN8_CTX_STATUS_PREEMPTED)) | 870 | GEN8_CTX_STATUS_PREEMPTED)) |
@@ -881,6 +882,8 @@ static void execlists_submission_tasklet(unsigned long data) | |||
881 | 882 | ||
882 | if (status & GEN8_CTX_STATUS_COMPLETE && | 883 | if (status & GEN8_CTX_STATUS_COMPLETE && |
883 | buf[2*head + 1] == PREEMPT_ID) { | 884 | buf[2*head + 1] == PREEMPT_ID) { |
885 | GEM_TRACE("%s preempt-idle\n", engine->name); | ||
886 | |||
884 | execlists_cancel_port_requests(execlists); | 887 | execlists_cancel_port_requests(execlists); |
885 | execlists_unwind_incomplete_requests(execlists); | 888 | execlists_unwind_incomplete_requests(execlists); |
886 | 889 | ||