OSDN Git Service

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)
commit6db07ce48887ac0da32aa244d3c2c77bfa70cf8d
tree45e2f89410e4579e6f27eaaa1f56c43a5d758866
parent00376ccfb2a457fcd7041e2d5740faa8a81ab8cb
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