drm/i915/guc : Decoupling ADS and logs from submission
authorSujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Tue, 2 Jan 2018 21:20:24 +0000 (13:20 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jan 2018 14:02:10 +0000 (14:02 +0000)
commitc24f0c1de481c1c0f914e937f409bac2c90b90b3
tree67e889d71e8d44b121c43eb4fe75ea06cacf3199
parent2221c5b7ddfae1ed1ca8b21a9092d0878281293a
drm/i915/guc : Decoupling ADS and logs from submission

The Additional Data Struct (ADS) contains objects that are required by
GuC post FW load and are not necessarily submission-only. Even with
submission disabled we may require something inside the ADS, so it
makes more sense for them to be always created.

Similarly, we need to access GuC logs and even if GuC submission
is disabled, to debug issues with GuC loading or with whatever we're using
GuC for.

v2: re-wording commit message (Sagar)

Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1514928025-29659-1-git-send-email-sujaritha.sundaresan@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/intel_guc.c
drivers/gpu/drm/i915/intel_guc_ads.c [new file with mode: 0644]
drivers/gpu/drm/i915/intel_guc_ads.h [new file with mode: 0644]
drivers/gpu/drm/i915/intel_guc_submission.c