[Intel-gfx] [PATCH] drm/i915/guc: Handle GuC log flush event in dedicated function

Chris Wilson chris at chris-wilson.co.uk
Mon Mar 19 12:29:11 UTC 2018


Quoting Michal Wajdeczko (2018-03-17 15:06:39)
> +void intel_guc_log_handle_flush_event(struct intel_guc_log *log)
> +{
> +       /* Handle flush event in bottom half */
> +       queue_work(log->runtime.flush_wq, &log->runtime.flush_work);
> +
> +       log->flush_interrupt_count++;

Document the locking or delete it. If the stats are corrupt, nobody has
noticed the bug and so no one is looking at the stats...
-Chris


More information about the Intel-gfx mailing list