[Intel-gfx] [PATCH v2] drm/i915: Pack params to engine->schedule() into a struct

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Apr 18 10:32:40 UTC 2018


Quoting Chris Wilson (2018-04-18 12:41:49)
> Today we only want to pass along the priority to engine->schedule(), but
> in the future we want to have much more control over the various aspects
> of the GPU during a context's execution, for example controlling the
> frequency allowed. As we need an ever growing number of parameters for
> scheduling, move those into a struct for convenience.
> 
> v2: Move the anonymous struct into its own function for legibility and
> ye olde gcc.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the Intel-gfx mailing list