Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5008763ybl; Tue, 14 Jan 2020 01:53:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxBkFvPpULZ0qetUmJczHpApiQAMGhoG1CtBQ2WYuy4cLUL2IHKbZJDiyZYctgOfM5bnDe5 X-Received: by 2002:a05:6830:1e46:: with SMTP id e6mr15392493otj.245.1578995583958; Tue, 14 Jan 2020 01:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578995583; cv=none; d=google.com; s=arc-20160816; b=I1rt2tSde0x8ydxrwDBtjeHAafNNgzqT185/KqsamBKCn5nQ4A8jpjuPXJKLwKR4h2 zPKTsgktc5cdApHDcCXF21oygdJ/x6bppcOPsgzN1sGX/EzHagcKshble4wJJcYS59DE 5iuds5urK2dsFn5r2sRPIv/ELOgyJkQin+YkaGfydPbZnuUPBZ96aIuhPMIc65z3II4j LkdX0w1HbmEbS6LUjA37HE2PffVECqRS1Z0OcqsSnb25uV0a/jPm3vhVOzGn2EAr+KwD 1n4o7NR6BUcqsJFaOdV8PtMFW2HhuaSQpCPowuS55HwrQ/gURN6twGFddMDBn5LlWWpM EALw== 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=o6uF9w8E7yvP5smyAJROwJ+EkA/g5VkgLfeYCPIXr3I=; b=r7ORMr5edj+lhyneTjcaKSVBtKGhnEKYsyWDb+2HUFAbJ0rcd90r4tE/pJkvjMCdMk 9CMhNiidzBBOU3c2q16AhpAYxM35Qo2gQF37su7vKDHVg4rRt7++ftEtwnueZSfQjydZ BXA9wMkUX8/JS8/OtDZWej4TqXrmOPupkPAp1FSa+R9sKAa1OLmWHTTwu5uMXZU4oPEW OIVHTdmlngnO/XVUp+9OTtuyWxNkCjfP7qXP/GA1+QEJESe0J/DfdJ5wD160WeM51rIS b91/aNyre0zevi884AC6fmh2+tDFYQkFTMuRUHT/qMFTHnWM+gMuao845rcmiUE5VaU7 iupQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VDTnAV12; 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 n11si7806368otk.290.2020.01.14.01.52.53; Tue, 14 Jan 2020 01:53:03 -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=VDTnAV12; 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 S1729146AbgANJv4 (ORCPT + 99 others); Tue, 14 Jan 2020 04:51:56 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38717 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbgANJvz (ORCPT ); Tue, 14 Jan 2020 04:51:55 -0500 Received: by mail-wm1-f65.google.com with SMTP id u2so12892266wmc.3 for ; Tue, 14 Jan 2020 01:51:54 -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=o6uF9w8E7yvP5smyAJROwJ+EkA/g5VkgLfeYCPIXr3I=; b=VDTnAV12L2Bbd0ejVn5vg+4wqrGQ2jw1FU0q4w6S5SfOA/pSQgUwMHIPlXLgYCix23 DLkjL77Uu+P9zFktrP1nDLVoQkwLdBQ/lxi4iUo9ZptMwPSkjW8niBEMGOroa7kdBk6n jO0ZB887EubI2Z/ocKW6zEqJpnTlUmK/vahNi+RyiZ1fNyuDpt6HIBJdiV7S+C1zP+vU yT3os+Zh3XBb7Tfefec/a3EJIfxIvB34/QN5Cjygu/T7sZ6EYmj1j3Q7mVGpIKODvvNC 8gJ4AH4t2EpFMacL6cMTEkTxzELtqd/P5ab1z7Nyoyy6WitF6sxyf0NcIFuOJ0XTLFvs blYg== 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=o6uF9w8E7yvP5smyAJROwJ+EkA/g5VkgLfeYCPIXr3I=; b=LR9IdNlHtkNt0l4tFcDbc2i1F/U215AnrytmZyIutXw4ND5/Wrk3Z8GTKDOPn66uID jXwz7CzDk4X3uplWO6DaWchZ2NOZBuIWqxPKojM4FPbDJrMXQkV+YWjsHf0LAwIsOS3u 03BemW2WEagcfBqunfJp762S2EO5OBfAI8LbMUblJ2j6n/25PmqIGqs4mi1zY/wWt6az 01EL40GvbOthRuX/aAJmTwuWuAADDCiPl0lAtf++SLWJWHetDplquo4YDI0GStAm60aD WvZ+xEoYsesKKioMZ70L37tUPmbAWXyBFwpLNfVKCh9WR+n7SDQkpcOWSkiqw6cmOXpq b9zQ== X-Gm-Message-State: APjAAAXA23x8kBx5WeurwoLDkWme1TBz/5hjdxacybuLH2qsy0dm2IPZ TZAZ7B9KASAzw+PG3N3iESk= X-Received: by 2002:a7b:c318:: with SMTP id k24mr26656383wmj.54.1578995514255; Tue, 14 Jan 2020 01:51:54 -0800 (PST) Received: from localhost.localdomain ([154.70.37.104]) by smtp.googlemail.com with ESMTPSA id y20sm17454881wmi.25.2020.01.14.01.51.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 01:51:53 -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 1/5] drm/i915/atomic: use new logging macros for debug Date: Tue, 14 Jan 2020 12:51:03 +0300 Message-Id: <20200114095107.21197-2-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200114095107.21197-1-wambui.karugax@gmail.com> References: <20200114095107.21197-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 Convert to the new struct drm_based logging macros to replace the printk based macros in i915/display/intel_atomic_plane.c. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/i915/display/intel_atomic_plane.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_atomic_plane.c b/drivers/gpu/drm/i915/display/intel_atomic_plane.c index 3e97af682b1b..8cbb29a860a3 100644 --- a/drivers/gpu/drm/i915/display/intel_atomic_plane.c +++ b/drivers/gpu/drm/i915/display/intel_atomic_plane.c @@ -183,10 +183,11 @@ bool intel_plane_calc_min_cdclk(struct intel_atomic_state *state, * must be true since we have crtc_state). */ if (crtc_state->min_cdclk[plane->id] > dev_priv->cdclk.logical.cdclk) { - DRM_DEBUG_KMS("[PLANE:%d:%s] min_cdclk (%d kHz) > logical cdclk (%d kHz)\n", - plane->base.base.id, plane->base.name, - crtc_state->min_cdclk[plane->id], - dev_priv->cdclk.logical.cdclk); + drm_dbg_kms(&dev_priv->drm, + "[PLANE:%d:%s] min_cdclk (%d kHz) > logical cdclk (%d kHz)\n", + plane->base.base.id, plane->base.name, + crtc_state->min_cdclk[plane->id], + dev_priv->cdclk.logical.cdclk); return true; } -- 2.24.1