[Intel-gfx] [PATCH] drm/i915: Demote i915_gem_open() debugging from DRIVER to USER

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Thu Nov 17 14:13:36 UTC 2016


On 09/11/2016 10:45, Chris Wilson wrote:
> We use DRM_DEBUG() when reporting on user actions, to try and keep
> intentional errors out of the CI dmesg. Demote the debug from
> i915_gem_open() similarly so that it is only apparent with drm.debug & 1
> like its brethren.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
>  drivers/gpu/drm/i915/i915_gem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> index 2450c99d29ae..951d392427d8 100644
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -5054,7 +5054,7 @@ int i915_gem_open(struct drm_device *dev, struct drm_file *file)
>  	struct drm_i915_file_private *file_priv;
>  	int ret;
>
> -	DRM_DEBUG_DRIVER("\n");
> +	DRM_DEBUG("\n");
>
>  	file_priv = kzalloc(sizeof(*file_priv), GFP_KERNEL);
>  	if (!file_priv)
>

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Regards,

Tvrtko


More information about the Intel-gfx mailing list