]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/guc: Make intel_guc_send a function pointer
authorOscar Mateo <oscar.mateo@intel.com>
Wed, 22 Mar 2017 17:39:49 +0000 (10:39 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 23 Mar 2017 12:58:11 +0000 (14:58 +0200)
commit5e7cd37d68673d2f51d1bdd2e60f42289831af54
treec714c6e09c7b03cd66b76c3067b429294c9c4efc
parente74654738baf465c92f0eec37ce4be891bac36da
drm/i915/guc: Make intel_guc_send a function pointer

Prepare for an alternate GuC communication interface.

v2: Make a few functions static and name them correctly while we are at it (Oscar), but
leave an intel_guc_send_mmio interface for users that require old-style communication.

v3: Send intel_uc_init_early back to the top (Michal).

Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_uc.c
drivers/gpu/drm/i915/intel_uc.h