]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/debugfs: conversion to drm_device based logging macros.
authorWambui Karuga <wambui.karugax@gmail.com>
Fri, 31 Jan 2020 09:34:13 +0000 (12:34 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 4 Feb 2020 09:29:33 +0000 (11:29 +0200)
commit81cdbc2b1a4c05fff990d1a02897b41b8f0f0d19
tree45e2f89410e4579e6f27eaaa1f56c43a5d758866
parentc418e7b6b712b2fbcef957ce40e56f894c1ebf14
drm/i915/debugfs: conversion to drm_device based logging macros.

Manual conversion of printk based logging macros to the struct
drm_device based logging macros in i915/i915_debugfs.c.
Also involves extracting the struct drm_i915_private device from various
intel types to use in the macros.

This does not convert various instances of the DRM_DEBUG macro due to
the lack of an analogous struct drm_device based logging macro.

References: https://lists.freedesktop.org/archives/dri-devel/2020-January/253381.html
Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131093416.28431-3-wambui.karugax@gmail.com
drivers/gpu/drm/i915/i915_debugfs.c