aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorArkadiusz Hiler <[email protected]>2017-03-14 15:28:07 +0100
committerJoonas Lahtinen <[email protected]>2017-03-15 14:26:30 +0200
commit882d1db09bf0631ad94f20e0abf037b3d471a6d5 (patch)
treea66b859b0b63fdec902b43567edc29538799df58 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent50beba55e8e27903019611354624322677462cb7 (diff)
drm/i915/uc: Rename intel_?uc_{setup, load}() to _init_hw()
GuC historically has two "startup" functions called _init() and _setup() Then HuC came with it's _init() and _load(). This commit renames intel_guc_setup() and intel_huc_load() to *uc_init_hw() as they called from the i915_gem_init_hw(). The aim is to be consistent in that entry points called during particular driver init phases (e.g. init_hw) are all suffixed by that phase. When reading the leaf functions, it should be clear at what stage during the driver load it is called and therefore what operations are legal at that point. Also, since the functions start with intel_guc and intel_huc they take appropiate structure. v2: commit message update (Chris Wilson) v3: change taken parameters to be more "semantic" (M. Wajdeczko) Cc: Chris Wilson <[email protected]> Cc: Michal Winiarski <[email protected]> Cc: Michal Wajdeczko <[email protected]> Signed-off-by: Arkadiusz Hiler <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions