Quoting Michał Winiarski (2017-10-05 10:13:43) > From: Dave Gordon <[email protected]> > > This second client is created with priority KMD_HIGH, and marked > as preemptive. This will allow us to request preemption using GuC actions. > > Cc: Chris Wilson <[email protected]> > Cc: Jeff Mcgee <[email protected]> > Cc: Michal Wajdeczko <[email protected]> > Cc: Oscar Mateo <[email protected]> > Signed-off-by: Dave Gordon <[email protected]> > Signed-off-by: Michał Winiarski <[email protected]> > --- > drivers/gpu/drm/i915/i915_debugfs.c | 4 ++++ > drivers/gpu/drm/i915/i915_guc_submission.c | 32 > ++++++++++++++++++++++++++---- > drivers/gpu/drm/i915/intel_uc.h | 1 + > 3 files changed, 33 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c > b/drivers/gpu/drm/i915/i915_debugfs.c > index b4a6ac60e7c6..1a963c13cab8 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -2488,6 +2488,10 @@ static int i915_guc_info(struct seq_file *m, void > *data) > > seq_printf(m, "\nGuC execbuf client @ %p:\n", guc->execbuf_client); > i915_guc_client_info(m, dev_priv, guc->execbuf_client); > + if (guc->preempt_client) {
Hmm, when do we have guc->execbuf_client but not guc->preempt_client? Reviewed-by: Chris Wilson <[email protected]> -Chris _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
