drm/i915/guc: Update name and prototype of i915_guc_log_control
authorSagar Arun Kamble <sagar.a.kamble@intel.com>
Wed, 24 Jan 2018 15:46:59 +0000 (21:16 +0530)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Jan 2018 19:44:06 +0000 (19:44 +0000)
commit065dd5ad6c94fde283477016ecb9525e30622431
treeb1ea7f99ff3c06cb310ce8c76d727bf498821584
parent70deeaddc6e6c51bb5e2b088dd92bb5a0e5b8d8a
drm/i915/guc: Update name and prototype of i915_guc_log_control

i915_guc_log_control is GuC interface and GuC APIs that are not user
facing should be named with "intel_guc" prefix hence we change name to
intel_guc_log_control. Also changed the parameter to intel_guc struct.

v2: Move log vma check to intel_guc_log_control (Michal)
    Return -ENODEV when log isn't initialized. (Chris)

Suggested-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1516808821-3638-4-git-send-email-sagar.a.kamble@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_guc_log.c
drivers/gpu/drm/i915/intel_guc_log.h