Re: [Intel-gfx] [PATCH 05/17] drm/i915/gem: Make caps.scheduler static

2019-08-05 Thread Chris Wilson
Quoting Andi Shyti (2019-08-05 18:08:31) > Hi Chris, > > > /** > > - * i915_gem_shrinker_register - Register the i915 shrinker > > + * i915_gem_driver_register__shrinker - Register the i915 shrinker > > * @i915: i915 device > > * > > * This function registers and sets up the i915 shrinker

Re: [Intel-gfx] [PATCH 05/17] drm/i915/gem: Make caps.scheduler static

2019-08-05 Thread Andi Shyti
Hi Chris, > /** > - * i915_gem_shrinker_register - Register the i915 shrinker > + * i915_gem_driver_register__shrinker - Register the i915 shrinker > * @i915: i915 device > * > * This function registers and sets up the i915 shrinker and OOM handler. > */ > -void

[Intel-gfx] [PATCH 05/17] drm/i915/gem: Make caps.scheduler static

2019-07-30 Thread Chris Wilson
We do not notify userspace when the scheduler capabilities are changed (due to wedging the driver) and as such userspace will expect the caps to be static and unchanging. Make it so, and so we only need to compute our caps once during driver registration. Signed-off-by: Chris Wilson Cc: Tvrtko