drm/i915/guc: Refactoring preparation of the GUC_CTL_DEBUG parameter
authorPiotr Piorkowski <piotr.piorkowski@intel.com>
Mon, 4 Jun 2018 14:19:42 +0000 (16:19 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Jun 2018 14:44:42 +0000 (15:44 +0100)
commit24d891d81312ab3921ce735952d8d2ad34dd90fb
tree1bee1112f54fc021b2da1bee03403d7f1ae8585c
parent50935ac767cab5494b4e15f3a95aa9e10513d82d
drm/i915/guc: Refactoring preparation of the GUC_CTL_DEBUG parameter

At the moment, the preparation of GUC_CTL_DEBUG is disordered.
Lets move all GUC_CTL_DEBUG related operations to one place.

v2:
- move 'ads' declaration to USES_GUC_SUBMISSION case (Michał Wajdeczko)

Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180604141947.8299-2-piotr.piorkowski@intel.com
drivers/gpu/drm/i915/intel_guc.c