drm/i915/guc: Rename the function that resets the GuC
authorMichel Thierry <michel.thierry@intel.com>
Mon, 30 Oct 2017 18:56:14 +0000 (11:56 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Nov 2017 08:08:05 +0000 (08:08 +0000)
commitcb20a3c056b04044c5e92c6d5d4485ba46ab4f72
treed5184abad0d1766ccd1329ec0b5e5727205e4aa4
parent6d5646006f66880574c75c4e142ef370b4503af3
drm/i915/guc: Rename the function that resets the GuC

intel_guc_reset sounds more like the microcontroller is the one performing
a reset, while in this case is the opposite. intel_reset_guc not only
makes it clearer, it follows the other intel_reset functions available.

v2: Print error message in English (Tvrtko).

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171030185616.32836-2-michel.thierry@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uc.c
drivers/gpu/drm/i915/intel_uncore.c