Re: [PATCH 5/7] drm/i915: Request watchdog infrastructure

2021-03-26 Thread Tvrtko Ursulin
On 26/03/2021 00:00, Daniel Vetter wrote: On Wed, Mar 24, 2021 at 12:13:33PM +, Tvrtko Ursulin wrote: [snip] +static enum hrtimer_restart __rq_watchdog_expired(struct hrtimer *hrtimer) +{ + struct i915_request *rq = + container_of(hrtimer, struct i915_request, watchd

Re: [PATCH 5/7] drm/i915: Request watchdog infrastructure

2021-03-25 Thread Daniel Vetter
On Wed, Mar 24, 2021 at 12:13:33PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Prepares the plumbing for setting request/fence expiration time. All code > is put in place but is never activated due yet missing ability to actually > configure the timer. > > Outline of the basic operat

[PATCH 5/7] drm/i915: Request watchdog infrastructure

2021-03-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Prepares the plumbing for setting request/fence expiration time. All code is put in place but is never activated due yet missing ability to actually configure the timer. Outline of the basic operation: A timer is started when request is ready for execution. If the request c