Re: [PATCH 21/30] drm/i915: Replace hangcheck by heartbeats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Bloomfield, Jon (2019-10-02 14:55:32)
> > -----Original Message-----
> > From: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> > Sent: Wednesday, October 2, 2019 4:20 AM
> > To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>; Joonas Lahtinen
> > <joonas.lahtinen@xxxxxxxxxxxxxxx>; Ursulin, Tvrtko <tvrtko.ursulin@xxxxxxxxx>;
> > Bloomfield, Jon <jon.bloomfield@xxxxxxxxx>
> > Subject: [PATCH 21/30] drm/i915: Replace hangcheck by heartbeats
> > 
> > Replace sampling the engine state every so often with a periodic
> > heartbeat request to measure the health of an engine. This is coupled
> > with the forced-preemption to allow long running requests to survive so
> > long as they do not block other users.
> > 
> > The heartbeat interval can be adjusted per-engine using,
> > 
> >       /sys/class/drm/card0/engine/*/heartbeat_interval_ms
> 
> Not true for discrete :-)
> 
> Perhaps: /sys/class/drm/card<n>/engine/*/heartbeat_interval_ms
> And again in the code below.

I left the extrapolation to the user -- I thought it was clear enough
without saying cardN, card<N>, or card?. Though since it's using
globing in one location card?
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux