Re: [Intel-gfx] [PATCH 2/4] drm/i915/guc: Introduce CT_ERROR

2020-01-14 Thread Michal Wajdeczko
On Mon, 13 Jan 2020 22:59:46 +0100, Daniele Ceraolo Spurio wrote: On 1/13/2020 12:52 PM, Michal Wajdeczko wrote: On Mon, 13 Jan 2020 21:20:25 +0100, Daniele Ceraolo Spurio wrote: On 1/11/2020 3:11 PM, Michal Wajdeczko wrote: We should start using dev variants of error logging and t

Re: [Intel-gfx] [PATCH 2/4] drm/i915/guc: Introduce CT_ERROR

2020-01-13 Thread Daniele Ceraolo Spurio
On 1/13/2020 12:52 PM, Michal Wajdeczko wrote: On Mon, 13 Jan 2020 21:20:25 +0100, Daniele Ceraolo Spurio wrote: On 1/11/2020 3:11 PM, Michal Wajdeczko wrote: We should start using dev variants of error logging and to simplify that introduce helper macro that will do any necessary conve

Re: [Intel-gfx] [PATCH 2/4] drm/i915/guc: Introduce CT_ERROR

2020-01-13 Thread Michal Wajdeczko
On Mon, 13 Jan 2020 21:20:25 +0100, Daniele Ceraolo Spurio wrote: On 1/11/2020 3:11 PM, Michal Wajdeczko wrote: 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

Re: [Intel-gfx] [PATCH 2/4] drm/i915/guc: Introduce CT_ERROR

2020-01-13 Thread Daniele Ceraolo Spurio
On 1/11/2020 3:11 PM, Michal Wajdeczko wrote: 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 Cc: Chris Wilson Cc: Daniele Ceraolo Spuri

[Intel-gfx] [PATCH 2/4] drm/i915/guc: Introduce CT_ERROR

2020-01-11 Thread Michal Wajdeczko
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 Cc: Chris Wilson Cc: Daniele Ceraolo Spurio --- drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c |