]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: conversion to struct drm_device based logging macros.
authorWambui Karuga <wambui.karugax@gmail.com>
Tue, 18 Feb 2020 17:39:36 +0000 (20:39 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 21 Feb 2020 09:20:42 +0000 (11:20 +0200)
commit0bf857358f3f58055fdc5a83b6bec815a3fa9788
treea3b2d0032108c2cdeb56dc9cf08a05e4e65e31fa
parent1042b2b93dac8029122fa7abeedf6b8f0f795a25
drm/i915/perf: conversion to struct drm_device based logging macros.

Manual conversion of instances of printk based drm logging macros to the
struct drm_device based logging macros in i915/i915_perf.c.
Also involves extraction of the struct drm_i915_private device from
various intel types for use in the macros.

Instances of the DRM_DEBUG printk macro were not converted due to the
lack of an analogous struct drm_device based logging macro.

v2: remove instances of DRM_DEBUG that were converted.

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/20200218173936.19664-1-wambui.karugax@gmail.com
drivers/gpu/drm/i915/i915_perf.c