Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3710266ybl; Tue, 21 Jan 2020 05:47:25 -0800 (PST) X-Google-Smtp-Source: APXvYqy4+G/ZwUDbvaFKBuL1rZ5N2uYZqx+pRl8Ji3dteaE9uEq8v5JBTmOn4OPYFpMDqV4DYg/Y X-Received: by 2002:a05:6808:b13:: with SMTP id s19mr2890091oij.119.1579614444897; Tue, 21 Jan 2020 05:47:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579614444; cv=none; d=google.com; s=arc-20160816; b=YWEY1eMW6RIq4eQwk8ohO4A+dmxAyOP0osnNT8XoGX0MOwXtpKmJTa+sG8EYIcVh9l uz+TX87PKUSwkb7JNhQePx0J0nzcOIykLVzgsi505Po4jeJ09CxWQ9m2X/gT3y9RHkii KM1SRajvsK8nx8kRi8VWaCZ91VEiuaYJzzuIQfF0LzcS2+zrz5KP3SK5ojSB+D8YApNL VFbDFkhYHdKVPOE6gAWMZnD9o+JAwGL0GY0+m6jIqMddjT/y+vEQb1FrtK3h5bGxv+/Y vnOT2q8olhv+VFHO2CM04c9RwiKyGP7Yt02Dnt2ipX6cAOnn9b95K1rIDwnsYyS6fHBx jpGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:dkim-signature; bh=wAY0nGub2moizimjMlOKmqPi5sNjGPoo+Z284BPsaCc=; b=HxXDlWoZqyLqtS+VqzpIM+KbGKE14DXT87Cj8MBRpaxMtOo9ITZIVcp32OxqMzif5h 9F+hP/JnSZ8pNjLfIpn0244YnBGMQY2UeHEUmtHwcXjWmt0GLFg7F4kBfgibAWctx18x wQPNuNj0vKXyruggF1wyLcqW+fxIn95IFHOzydC5p1VcNtDVeC9xAHs6nnx6rbgIV+bj i/pZkXLY+djA2mIneJnq3WR99iXNDxHR3r/w3mQrg5vHHgk5VMlo7ptbUHy3zw381x1S EeNFmaNki+xkMklXKSnKAczW+hlo39HBuUN7i/yASMGHFso0ffC9TNq4m+gJzFXI0FHw ELeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cuo9yXLB; 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 b18si17995187oib.170.2020.01.21.05.47.13; Tue, 21 Jan 2020 05:47:24 -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=cuo9yXLB; 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 S1729099AbgAUNqM (ORCPT + 99 others); Tue, 21 Jan 2020 08:46:12 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40679 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726968AbgAUNqL (ORCPT ); Tue, 21 Jan 2020 08:46:11 -0500 Received: by mail-wr1-f65.google.com with SMTP id c14so3242090wrn.7 for ; Tue, 21 Jan 2020 05:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=wAY0nGub2moizimjMlOKmqPi5sNjGPoo+Z284BPsaCc=; b=cuo9yXLBGjziwDj/A6x10/sKWHDeExpaLuKbn3FeIY5k3mb1BtbvglgOkkpJ27c7jz 0JDueHaFQXwH2bylKo4sH64kO80d4iKVyTd6+LFNX3BhvAIoNUY8SmXfTiUvyidxetPM LCh7mlc4tgsY07y1O+HJs009/v2Gffy3q0Zzci8bbmOp5cfY5mB673j6DHsbAgMTRbMv LQeY5vrx4vKmg5uYfHEYPHU1b+TjlmjcDiHwZXBPF5Ml5UXcQ+VyGbRkJe4DeRg1qQ73 simo3o6HgJMPU9iSLG8HtXpvWBwn/va5w5By/Lj2H5S1FQQmBXRIipulGs3uevG1nqYv mhLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=wAY0nGub2moizimjMlOKmqPi5sNjGPoo+Z284BPsaCc=; b=Z28TF7nm+071MydQcxlXB7t+y+/EJdhj/FiE3UqLDiemsA5VuZHBogXjPrYz39Hjhj 63dPHaazXjprNPMQNk2yTf10wsF4URKTuUrb8qh9jpEJww0pj4zxCKDme31/F/txP8mq PEsTyUpV7U2AJYEOecOgxtVnodZRLMEVZ1Qm1kBy5vR168d4k1yuUGXOY9POgxc+tZCZ 3jO1xGrpEXa+gbp3vW8j/Cv5p12Y7O1zRRqCoDQX/5LQ6uANti8c/3NNKRCSKfi6AMWg at1W6VULnvCbFvkpD7O/CBqd2t0kNTHcM2aESb5ZcpjRQRBWt9z6DeakYMMaQ96nrIIn E7AA== X-Gm-Message-State: APjAAAXLhRqZy6e/3xVnEAw/XL1StWjgPBr4EV3i+3faHkvlEipE+kNf cpKQYBUigAmgIctdolnwY9A= X-Received: by 2002:a5d:640d:: with SMTP id z13mr5181359wru.181.1579614369515; Tue, 21 Jan 2020 05:46:09 -0800 (PST) Received: from localhost.localdomain ([197.254.95.38]) by smtp.googlemail.com with ESMTPSA id x17sm51590093wrt.74.2020.01.21.05.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 05:46:09 -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, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] drm/i915/atomic: use struct drm_device logging macros Date: Tue, 21 Jan 2020 16:45:55 +0300 Message-Id: <20200121134559.17355-2-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200121134559.17355-1-wambui.karugax@gmail.com> References: <20200121134559.17355-1-wambui.karugax@gmail.com> 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.17.1