Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5594185ybl; Tue, 14 Jan 2020 11:33:32 -0800 (PST) X-Google-Smtp-Source: APXvYqx40LrTWNV95pz8c3hbBuepnTnOjLECGlKXH0HPR7wWHDVxFP+J+XlNCVLQCuz3rpZKg7AH X-Received: by 2002:a9d:6c92:: with SMTP id c18mr18501978otr.157.1579030412389; Tue, 14 Jan 2020 11:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579030412; cv=none; d=google.com; s=arc-20160816; b=SlM9qobz0Kheom8HqQk/pQuCbjL6rK0DBtrzKVA3ymP21Z/5QDLUn9sGkYa9AyJHqO 4M1AN6Sk0wk/Z4SdwbvWeKlzMbKivmnTNFyqKb0Vy1egvcjPLufSFTd4lYB7LOAddTmI cOKwWuHFbRaFajssRsj9agHCKmKYjPl73+JeyexnX1+NsI2L8Dq9gDcjU39BQb6shzag mgdE4tdQ2WDJy3hXR0fE8usspWk7LmuMa5yt5eM3PrI0D2fTkD6wymRT45JWShbv+vtg 1mvjm+d5+skmizA4a+6QOlbt3AlvXepuPMpXphh2yw0AJFK3YphMIWSPeiTsRHXwMAIX NAnw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=XU3df1UrRKDXcpcQHNFwUN0kOKaJVsq9R83HuMFlYmk=; b=wF1HklQDHfvIUlvkIWR9jafKSeqhnnIZPaueZK2TyRFlVM2jGMafhTPokNQeuhE/GD GlXb9tIISgOhh5fn/bXDdSSpTqF3oVDsEdSjP1IQG25QM4o4zbVizzSuzrhrSKOgdJnc NcJKchjvrKit6tdRUGgwE8UYJ8aWp8PBZMTLS2Qhl3cC41Negt7Bhf4TKHHO24foJuOR /F6haBGwJEk1VUdoqK/761GlP+BVLAjLOVFOYIHXvh761TWV6f2NcB3R/U/G5AxWsaWM Hfv6gi4Wce+cG2xFZChcmnMfW7g10RmBSoWqyol8zPwlnSFnEHBf93H3j5fh06TSmxp4 g+MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N7jAJHf9; 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 i25si7889791oii.259.2020.01.14.11.33.20; Tue, 14 Jan 2020 11:33:32 -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=N7jAJHf9; 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 S1728765AbgANTbb (ORCPT + 99 others); Tue, 14 Jan 2020 14:31:31 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36537 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgANTbb (ORCPT ); Tue, 14 Jan 2020 14:31:31 -0500 Received: by mail-wr1-f68.google.com with SMTP id z3so13405162wru.3 for ; Tue, 14 Jan 2020 11:31:30 -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:mime-version :content-transfer-encoding; bh=XU3df1UrRKDXcpcQHNFwUN0kOKaJVsq9R83HuMFlYmk=; b=N7jAJHf9q7vg451kF3fb+8EhrByNUfz1vq+5OYJjQXQlZhUQGX+LBBKEtVQDNxoGjW isaKMu7LvMS1gD22tNOrzkn9I5Qjq8UU/Tm0JLjwnaru8dLPbhCJ5xQc3h7z4agEyHbD ZOr0xTEMDNDuM7Lgidw8V49AiLykdivK73t3IH2PpljY+rtJDnMQrQPTa95lY2DnkCCT XMNot8jNOMSmh4ZuFpgnXlg5QrY8R5rYVeMjBI6zeFFfKIUa9WG0Cv+8IjK80UUrXQiZ 82P1TybaIbA98QKCDMoO0130yg6/O1oJmKr/GMoM3Kv183F86gh5ErLOMqB4dZkzhF64 ue6w== 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:mime-version :content-transfer-encoding; bh=XU3df1UrRKDXcpcQHNFwUN0kOKaJVsq9R83HuMFlYmk=; b=pi9HFZB01iyk+vYDMKtSra25iuXUtnjqWS43BR8RGZPMaDlnpQGhOPRrA/ulkXTTju xbiVin3l0P+Wk8iVfBgmY6fxOr/ffBJBD88ehhhH+UR+wqIE5KFT1GpbxMtQCwbqCkeT Xr9jEy/cTGgLz+sOryws5cHdokgSMec7U8ZgtYPZ03fMocFVfacK2f2G5gmNM1Vd/+sL sv5LhfeAZSUPUxEm7JmC+QKGNJQ/+bRkErgH35MXgzYlpEvQnPDnlAvDTFJangiRavXv azHnpehb8asy7L5mXm/X7olPr16PryKSMwB7psmgwYhKHIjTQVhanPA+IK+W90UGXAGC u5Mw== X-Gm-Message-State: APjAAAVHpEyveLEBZMkvhv2fxXZ/aZpauUhxLiqQGkxLEYlllgv/8sYp 1Oynm1nqKEbCov5Y+b8Ah8Fn7LCID+k= X-Received: by 2002:a5d:6a88:: with SMTP id s8mr26099761wru.173.1579030289475; Tue, 14 Jan 2020 11:31:29 -0800 (PST) Received: from wambui.zuku.co.ke ([197.237.61.225]) by smtp.googlemail.com with ESMTPSA id e8sm21050418wrt.7.2020.01.14.11.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 11:31:28 -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] drm/i915/audio: convert to using drm_dbg_kms() Date: Tue, 14 Jan 2020 22:31:23 +0300 Message-Id: <20200114193123.5314-1-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.24.1 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 from the drm_dbg() logging macro to the drm_dbg_kms() macro in modesetting code. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/i915/display/intel_audio.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c index 57208440bf6d..771a677c905b 100644 --- a/drivers/gpu/drm/i915/display/intel_audio.c +++ b/drivers/gpu/drm/i915/display/intel_audio.c @@ -361,7 +361,7 @@ static void g4x_audio_codec_enable(struct intel_encoder *encoder, I915_WRITE(G4X_AUD_CNTL_ST, tmp); len = min(drm_eld_size(eld) / 4, len); - drm_dbg(&dev_priv->drm, "ELD size %d\n", len); + drm_dbg_kms(&dev_priv->drm, "ELD size %d\n", len); for (i = 0; i < len; i++) I915_WRITE(G4X_HDMIW_HDMIEDID, *((const u32 *)eld + i)); @@ -710,9 +710,10 @@ void intel_audio_codec_enable(struct intel_encoder *encoder, "Bogus ELD on [CONNECTOR:%d:%s]\n", connector->base.id, connector->name); - drm_dbg(&dev_priv->drm, "ELD on [CONNECTOR:%d:%s], [ENCODER:%d:%s]\n", - connector->base.id, connector->name, - connector->encoder->base.id, connector->encoder->name); + drm_dbg_kms(&dev_priv->drm, + "ELD on [CONNECTOR:%d:%s], [ENCODER:%d:%s]\n", + connector->base.id, connector->name, + connector->encoder->base.id, connector->encoder->name); connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2; -- 2.24.1