i915/i915_gem_context: Remove debug message in i915_gem_context_create_ioctl
authorKarolina Drobnik <karolina.drobnik@intel.com>
Tue, 25 Oct 2022 09:19:03 +0000 (11:19 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 27 Oct 2022 10:28:17 +0000 (12:28 +0200)
We know that as long as GEM context create ioctl succeeds, a context was
created. There is no need to write about it, especially when such a message
heavily pollutes dmesg and makes debugging actual errors harder.

Since commit baa89ba3f1fe ("drm/i915/gem: initial conversion to new
logging macros using coccinelle"), the logging for creating a new user
context was moved under the driver debug output (for lack of a means for
per-user logs, and a lack of user-focused drm.debug parameter). This
only reveals how obnoxious having that spam be part of the driver debug
logs, so remove it. [ from Chris Wilson ]

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Karolina Drobnik <karolina.drobnik@intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221025091903.986819-1-karolina.drobnik@intel.com
drivers/gpu/drm/i915/gem/i915_gem_context.c

index d0a537b15ebba5f0e4f6279af0c80ffda8c606da..01402f3c58f65c8d84095b2704dff5d30275f55a 100644 (file)
@@ -2298,7 +2298,6 @@ int i915_gem_context_create_ioctl(struct drm_device *dev, void *data,
        }
 
        args->ctx_id = id;
-       drm_dbg(&i915->drm, "HW context %d created\n", args->ctx_id);
 
        return 0;