diff options
author | Wambui Karuga <[email protected]> | 2020-02-06 11:00:05 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2020-02-11 15:11:56 +0200 |
commit | 959a944563dc2b555fd78897100d6a1f9a6ac46f (patch) | |
tree | 5995f039087c0af6ee9140f0ec301ff54473dfc3 | |
parent | f07fba2f624b7b8147b5c7be9ba411b6fe697db3 (diff) |
drm/i915/color: conversion to drm_device based logging macros.
Initial conversion of the straightforward printk based logging macros to
the struct drm_device based logging macros in
i915/display/intel_color.c.
Signed-off-by: Wambui Karuga <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_color.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c index 2087a1852486..d44bd8287801 100644 --- a/drivers/gpu/drm/i915/display/intel_color.c +++ b/drivers/gpu/drm/i915/display/intel_color.c @@ -1192,7 +1192,8 @@ static int check_luts(const struct intel_crtc_state *crtc_state) /* C8 relies on its palette being stored in the legacy LUT */ if (crtc_state->c8_planes) { - DRM_DEBUG_KMS("C8 pixelformat requires the legacy LUT\n"); + drm_dbg_kms(&dev_priv->drm, + "C8 pixelformat requires the legacy LUT\n"); return -EINVAL; } |