Re: [Intel-gfx] [PATCH] drm/i915: Split out parking from the idle worker for reuse

2018-04-06 Thread Chris Wilson
Quoting Chris Wilson (2018-04-06 16:21:04) > Quoting Michal Wajdeczko (2018-04-06 16:18:53) > > On Fri, 06 Apr 2018 16:33:39 +0200, Chris Wilson > > wrote: > > > > > We will want to park GEM before disengaging the drive^W^W^W unwedging. > > > Since we already do the work for idling, expose the

Re: [Intel-gfx] [PATCH] drm/i915: Split out parking from the idle worker for reuse

2018-04-06 Thread Chris Wilson
Quoting Michal Wajdeczko (2018-04-06 16:18:53) > On Fri, 06 Apr 2018 16:33:39 +0200, Chris Wilson > wrote: > > > We will want to park GEM before disengaging the drive^W^W^W unwedging. > > Since we already do the work for idling, expose the guts as a new > > function that we can then reuse. > >

Re: [Intel-gfx] [PATCH] drm/i915: Split out parking from the idle worker for reuse

2018-04-06 Thread Michal Wajdeczko
On Fri, 06 Apr 2018 16:33:39 +0200, Chris Wilson wrote: We will want to park GEM before disengaging the drive^W^W^W unwedging. Since we already do the work for idling, expose the guts as a new function that we can then reuse. v2: Just skip if already parked; makes it more forgiving to use by

[Intel-gfx] [PATCH] drm/i915: Split out parking from the idle worker for reuse

2018-04-06 Thread Chris Wilson
We will want to park GEM before disengaging the drive^W^W^W unwedging. Since we already do the work for idling, expose the guts as a new function that we can then reuse. v2: Just skip if already parked; makes it more forgiving to use by future callers. Signed-off-by: Chris Wilson Cc: Michal Wajd