drm/i915/guc: Introduce CT_ERROR
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 11 Jan 2020 23:11:12 +0000 (23:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Jan 2020 13:06:55 +0000 (13:06 +0000)
commit18c8832523c8509551ee9354225446125aba10d3
tree9accc4a7ec762f0964baaa855821524c9dec9cf5
parentd8186dd23926bb6457181ced379d1757f594f507
drm/i915/guc: Introduce CT_ERROR

We should start using dev variants of error logging and
to simplify that introduce helper macro that will do any
necessary conversions to obtain pointer to device struct.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200111231114.59208-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c