]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/color: conversion to drm_device based logging macros.
authorWambui Karuga <wambui.karugax@gmail.com>
Thu, 6 Feb 2020 08:00:05 +0000 (11:00 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 11 Feb 2020 13:11:56 +0000 (15:11 +0200)
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 <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200206080014.13759-5-wambui.karugax@gmail.com
drivers/gpu/drm/i915/display/intel_color.c

index 2087a18524865843ef7d394b786d7680f581b00e..d44bd82878013b988c453c017de31e15f8610d1a 100644 (file)
@@ -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;
        }