]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: The Additional Data Struct (ADS) should get enabled together with GuC...
authorOscar Mateo <oscar.mateo@intel.com>
Wed, 22 Mar 2017 17:39:47 +0000 (10:39 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 23 Mar 2017 12:57:44 +0000 (14:57 +0200)
commit48e77175728ac18bcaf991b4cc5c3e8398e5eafa
tree49f627964551c1bc00cb80caa43433ded511100b
parentda8f53cc8f524c01f51f19b0008e5118e0a436dd
drm/i915/guc: The Additional Data Struct (ADS) should get enabled together with GuC submission

It's mandatory and it gets created if and only if GuC submission is enabled, so that should be
the condition for informing the GuC about it.

Also s/guc_addon_create/guc_ads_create and s/guc_addon_destroy/guc_ads_destroy and, while
at it, add an explanation of what things go inside the ADS object.

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.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/i915_guc_submission.c
drivers/gpu/drm/i915/intel_guc_loader.c