OSDN Git Service

drm/i915/cmd_parser: conversion to struct drm_device logging macros.
authorWambui Karuga <wambui.karugax@gmail.com>
Fri, 31 Jan 2020 09:34:14 +0000 (12:34 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 4 Feb 2020 09:29:40 +0000 (11:29 +0200)
commit0c4336b933931bb7f726f3a17dd9f9d1f6b4975a
tree88657ce5f472186ab76423a5b95c617f0cc4a863
parent6db07ce48887ac0da32aa244d3c2c77bfa70cf8d
drm/i915/cmd_parser: conversion to struct drm_device logging macros.

Manually convert printk based drm logging macros to the struct
drm_device based logging macros in i915/i915_cmd_parser.c.
This also involves extracting the drm_i915_private device from various
intel types for use in the macros.

Instances of the DRM_DEBUG macro are not converted due to the lack of a
similar 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-4-wambui.karugax@gmail.com
drivers/gpu/drm/i915/i915_cmd_parser.c