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)
commit0704df2b08e76dfb1fd2688f74bc4409dc66228d
tree49f627964551c1bc00cb80caa43433ded511100b
parent3950bf3dbff1010e3309416f9fe2acbea03156d5
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