]> git.baikalelectronics.ru Git - kernel.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)
commitbb5e38673894e39ed2bdc00b0f1ede7f6fd6b1f1
treec714c6e09c7b03cd66b76c3067b429294c9c4efc
parent2cb76f238e5b2d202ec36f3c42d4f8bd52b18298
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