[Intel-gfx] [CI 1/3] drm/i915/gem: Remove incorrect early dbg print
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Fri Nov 20 14:49:16 UTC 2020
On 20/11/2020 14:03, Chris Wilson wrote:
> We print out the "logical" context support before we discover whether or
> not the engines have logical contexts. No one seems to have noticed the
> error, so the debug message must not be useful to anyone.
I have, many months ago! :)
Regards,
Tvrtko
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> ---
> drivers/gpu/drm/i915/gem/i915_gem_context.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_context.c b/drivers/gpu/drm/i915/gem/i915_gem_context.c
> index 4fd38101bb56..a6299da64de4 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_context.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_context.c
> @@ -904,9 +904,6 @@ static void init_contexts(struct i915_gem_contexts *gc)
> void i915_gem_init__contexts(struct drm_i915_private *i915)
> {
> init_contexts(&i915->gem.contexts);
> - drm_dbg(&i915->drm, "%s context support initialized\n",
> - DRIVER_CAPS(i915)->has_logical_contexts ?
> - "logical" : "fake");
> }
>
> void i915_gem_driver_release__contexts(struct drm_i915_private *i915)
>
More information about the Intel-gfx
mailing list