drm/i915/guc: Update name and prototype of GuC submission interface functions
authorSagar Arun Kamble <sagar.a.kamble@intel.com>
Thu, 16 Nov 2017 13:32:39 +0000 (19:02 +0530)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 16 Nov 2017 15:03:44 +0000 (15:03 +0000)
commitdb14d0c5ae7c2d8a39b4dcaa584e7503ace6b18f
tree8f3f065894094a10bb246b8d3af6faf5e14d2f61
parent6fa1f6fbb18e23dc0f582e296fa83194390a49a6
drm/i915/guc: Update name and prototype of GuC submission interface functions

i915 GuC submission is hardware interface and GuC APIs that are not user
facing should be named intel_guc* hence we change GuC submission related
functions name prefix to intel_guc. Also changed the parameter to these
functions to intel_guc struct.

v2: Using local guc variable in intel_uc_fini_hw. (Michal Wajdeczko)
Rebase.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510839162-25197-4-git-send-email-sagar.a.kamble@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_guc_submission.c
drivers/gpu/drm/i915/i915_guc_submission.h
drivers/gpu/drm/i915/intel_uc.c