[Intel-gfx] [PATCH 06/17] drm/i915/debugfs: use struct drm_device based logging
Wambui Karuga
wambui.karugax at gmail.com
Tue Apr 7 11:49:37 UTC 2020
On Thu, 2 Apr 2020, Jani Nikula wrote:
> Convert all the DRM_* logging macros to the struct drm_device based
> macros to provide device specific logging.
>
> No functional changes.
>
> Cc: Wambui Karuga <wambui.karugax at gmail.com>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Wambui Karuga <wambui.karugax at gmail.com>
> ---
> drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> index b22b4e9c3138..aa35a59f1c7d 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -741,7 +741,7 @@ i915_error_state_write(struct file *filp,
> if (!error)
> return 0;
>
> - DRM_DEBUG_DRIVER("Resetting error state\n");
> + drm_dbg(&error->i915->drm, "Resetting error state\n");
> i915_reset_error_state(error->i915);
>
> return cnt;
> --
> 2.20.1
>
>
More information about the Intel-gfx
mailing list