Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1243100ybv; Thu, 6 Feb 2020 00:18:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzgKl56r+qM7fKgLDkzWCaJaNgW5Wd39DLfNIX4qQj6ACSz7mOu12M5HteCllaEnYxpozPS X-Received: by 2002:a05:6808:8e1:: with SMTP id d1mr6094603oic.68.1580977085675; Thu, 06 Feb 2020 00:18:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580977085; cv=none; d=google.com; s=arc-20160816; b=I0g3voqB5WN1FV4XUM394xmAeOOfjou19xNt/gyRu0ZhR64GDPyxIi0eIEXrD/ljE3 6oVJTbcXqwvLvQOwB843kOA3S+QuFWPhsvkPLOT1PQU13hrbqP5AQr2zE5iFSPzL+tl9 X0gwgRuYog8BY9fnjGRcJuECcayacJ8vWnvmHtVcbP6uUOc3JlQ1M99QxMT1a2fC6io5 aCXItSjfkymX+u496YL0jaF36G27Vxtronl4STvDDSAvpnrQfHVax42aJYUjGHYrVvLG 95BxcvcEQwQed2BGMjA5VZep9c2CkpWcDufFjRmTqAXVDknfHA+NJcPHFOkkRqJnN99v ipqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XtslodQDEgXVqwkRyzhRJwkNpBKdcN9adctiuwwsFK8=; b=X8AkoLBiN9M7M0D/5bQU8XIZ7KvFn3Fy8QqQuoeWR5629RaJlHoSU4gNxwl5rBUf0f uYXyFN368mFANFWpwYvVAOq0McbrycVnS9R03lFqRWgl2RgV3xVTi+2FOC4PIUUC2tIy HNnfIP/Aa7NL0suG1gt68IUdOElQlzE1rizC09d/c1/xfOk3KHLHO7cA2ftt1RTyQGMD izxhg1i28LO7PilzhV31zunS0nzNpWRl7MWcbj0ASDKU1bhsOp96oFasM11VXdH8k/k5 IZniYoRuMGPYJiA25bx7Q5zK6RK9RxhiC8XSYiJGIm8HGo8cI/QcNPZe67+qE/tNByBg /LVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="L2eh/AIB"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si1318288oib.164.2020.02.06.00.17.53; Thu, 06 Feb 2020 00:18:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="L2eh/AIB"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728351AbgBFIAm (ORCPT + 99 others); Thu, 6 Feb 2020 03:00:42 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41090 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728055AbgBFIAl (ORCPT ); Thu, 6 Feb 2020 03:00:41 -0500 Received: by mail-wr1-f68.google.com with SMTP id c9so5913196wrw.8 for ; Thu, 06 Feb 2020 00:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XtslodQDEgXVqwkRyzhRJwkNpBKdcN9adctiuwwsFK8=; b=L2eh/AIBOBoKs36wZcHz11fiAzDq43Pw5ipKiDecgQk0nUl4LJXxiJgW5Th9GcN8Q/ Fwcv7yWWB4izr5HU6W8vJUxyq2v7Xj3m18/0FOyFe4WrqdfWt8dUTV89zVEbNqvfuhrQ E/XftoPiQIoPbwAnxtxs5rMoriBakauNmguh++s7rzxpXXwyCVfgZshsET0r13cEyYSQ EOGm1MRdILvq9vTNbRIYPNukonPHKmnDUTGi93SdDze7E7vrWj2hj6lBPayvRf47N9Rz 9Zm3b7jagJvKZ2h5bI+HwhOqIx7pHEo4HULiOgd0dAF2kkXT94gt11ZKpAZWdezeQ7os wEvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XtslodQDEgXVqwkRyzhRJwkNpBKdcN9adctiuwwsFK8=; b=E+w83CvQsVT6YYYUeVPTTVeocl+d+LNaXHmqloP2ss5MJA4wNhqDHeGtuOj/HJvuIy jGvlrQWi9EGHirK8YiFWwECRPVQSFXUMxxJ4UWmfQHxM6WipEuwTNmLJ+NlLV02uEf8f 99h317zoHA1RcDBWgxW0wWAfzEpTnHpU8ZlxBreKR/sF+5i8bfwyi1y2aDJRPDQ0EHEJ ts++kF65gbwmv/jZ4INyHnMqEZn20cQsKsHvoay1OgjvSZTVvCIT9Ej3CMcJhZeW7wWK MwgatFVvpWkZNDxekn1x0wlQ8FQPOPUsoV8/S7+lGsAgH67FMnBHo5gcXWIMbTrVDDC3 1avw== X-Gm-Message-State: APjAAAUCdZCThrqzBTsEHiZNtywwL+SNgayNTyUAckoD1R1TZeH97ZDE Aw8LG/ZZMEAzMpFuT4QUyhs= X-Received: by 2002:adf:ea0f:: with SMTP id q15mr2360719wrm.356.1580976039303; Thu, 06 Feb 2020 00:00:39 -0800 (PST) Received: from wambui.zuku.co.ke ([197.237.61.225]) by smtp.googlemail.com with ESMTPSA id u8sm2635132wmm.15.2020.02.06.00.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 00:00:38 -0800 (PST) From: Wambui Karuga To: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch Cc: sean@poorly.run, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/12] drm/i915/color: conversion to drm_device based logging macros. Date: Thu, 6 Feb 2020 11:00:05 +0300 Message-Id: <20200206080014.13759-5-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200206080014.13759-1-wambui.karugax@gmail.com> References: <20200206080014.13759-1-wambui.karugax@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/gpu/drm/i915/display/intel_color.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.25.0