[Intel-gfx] [PATCH] drm/i915: Move engine HWS setup into one shared function

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri May 19 08:59:49 UTC 2017


On ke, 2017-05-17 at 18:42 +0000, Michal Wajdeczko wrote:
> Similar code was duplicated in ringbuffer.c and lrc.c
> Lets share the code and move it to engine_cs.c
> While around, move execlist enabling into separate inline
> function, as this will make future patches simpler.
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Oscar Mateo <oscar.mateo at intel.com>

Looks good to me, sync with Chris about any changes into
setup_phys_status_page so that commit order is correct not to miss any
of his changes.

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

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list