[Intel-gfx] [PATCH 1/8] drm/i915: Fix cmdparser drm.debug

Jani Nikula jani.nikula at linux.intel.com
Thu Jan 2 09:56:05 UTC 2020


On Sat, 07 Dec 2019, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> The cmdparser rejection debug is not for driver development, but for the
> user, for which we use a plain DRM_DEBUG().

...

> -	DRM_DEBUG_DRIVER("CMD: Abnormal rcs cmd length! 0x%08X\n", cmd_header);
> +	DRM_DEBUG("CMD: Abnormal rcs cmd length! 0x%08X\n", cmd_header);

That's not what the documentation says about the difference between
DRM_DEBUG and DRM_DEBUG_DRIVER.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list