On pe, 2017-02-24 at 16:39 +0100, Arkadiusz Hiler wrote: > Instead of calling intel_guc_init() and intel_huc_init() one by one this > patch introduces intel_uc_init_fw() function that calls them both. > > Called functions are renamed accordingly. > > Trying to have subject_verb_object ordering and more descriptive names, > the intel_huc_init() and intel_guc_init() functions are renamed. > > For guc_init(): > * `intel_guc` is the subject, so those functions now take intel_guc > structure, instead of the dev_priv > * init is the verb > * fw is the object which better describes the function's role > > huc_init() change follows the same reasoning. > > v2: settle on intel_uc_fetch_fw name (M. Wajdeczko) > v3: yet another rename - intel_uc_init_fw (J. Lahtinen) > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> > Cc: Michal Winiarski <michal.winiarski@xxxxxxxxx> > Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@xxxxxxxxx> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx