Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5008750ybl; Tue, 14 Jan 2020 01:53:03 -0800 (PST) X-Google-Smtp-Source: APXvYqyL2uO4yf/lkqhcMyhvXCRl8e5iwGJFnlazXJJsqMeCKxFPgMc5RWll2ccrSfujyTBangbR X-Received: by 2002:aca:4a08:: with SMTP id x8mr16405596oia.39.1578995583156; 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=odZxW4vjvP4sYUrlNSnMZgKxb1I9K3dDFhpANhhgZ8xWCQIj4sxkBl68kH2/lX3tgm CH9kF28FItbAhdNnrjM2hCzkQR19BcCsMKEkygms9fBQre2xGQuphA7YKWrixp3FAPXV 2vBmVvx2vusShl5UcItsxjL1fURI7LHAhS2Q5Gf5nz6wMyzub0Pd1UyS1a/1s9YXv9xy bhIuHiCHgIc1JhE9cuPQ7CwHQjYdgTU3rv+TZSDfQiWykiwR9K5X+Ay/ogv4Ws1TpGHe IVSsOhkDEC5yQNCjl4XH0jFxpClkZlkZfDw6ITyNt/Vu1vjkS+5HAif1Bg0ZakcEXNCV bDSA== 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=aLEvn2Ayn70H2DlRMlH4wB1n/2RUWp9de4kG51hAiWM=; b=FVlDVD5smP8u6TxzARrQD8zaHXTf0TOJYEBUjrdmgolP81X9rDNVluw+oY5HyBNA5z MvQfl6cq0qxW9OuR8KMsrjKbJNwQ9nopolRxktJNlppKmyLG/uIygzMLfffR653t5vlb sqBR5UKODkChK+/VmyG+WMRokWIG1q1d8gVao0xnBDzSoB8Ev8e+xQLV4PxGpir7vv5L 7ybdXZ2L3d1Pg/brx27UkWycaL+XQoQ+BNMg5iMtqIcZerB7CxN1pHvoOVZuU5nq837b uws8MiFVPfFxUwZO4waKSlduyKiEy+ua25t8Ucgs11j99IANIkDtdbt19NRDOJv8Hj4L sBgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DzvBpaMP; 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 18si6927582oir.123.2020.01.14.01.52.52; 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=DzvBpaMP; 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 S1729049AbgANJvu (ORCPT + 99 others); Tue, 14 Jan 2020 04:51:50 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:56250 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbgANJvt (ORCPT ); Tue, 14 Jan 2020 04:51:49 -0500 Received: by mail-wm1-f68.google.com with SMTP id q9so12971245wmj.5 for ; Tue, 14 Jan 2020 01:51:49 -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=aLEvn2Ayn70H2DlRMlH4wB1n/2RUWp9de4kG51hAiWM=; b=DzvBpaMP2qYCHMd+YfBzSn4MzVls4/yRDNRs0v+kJgeiL0gnvr8IBkkUKOvtRaF9Y5 uJSstZ3c2fs8IrsqiJYZvScd4oDnoayzLFFLZfDORJw3qNfEXMwDVKyO5b+1NFUUligK MXrhv0oecFfvijVvcWXM9sGMsaqHbk7hwog0rQ3S7opEmZOCOj0EclL9s8XJJ1vxl7+R 9ubHRzDEenBvDO4zBdc0ld7y+ij7ZlfB6ka41iQc0Q/cq4rrLl3KvJ3geB9l81aVf/IH dAe6SYVza6RKbm1ejOAaTGSK0z2cI2l52hSjx/fFDKh/NVu6EFVvV1EaWL/GVgJlyMsJ DaNg== 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=aLEvn2Ayn70H2DlRMlH4wB1n/2RUWp9de4kG51hAiWM=; b=tzR1uskv/3XtmXmw6lC52YqsThwd2c50NUBogPBazHNYSWjIXfuwEK8JggSsFnBY8G PRj33vWd0DcPowzAjEle8We9yH1zQ61rjRtuPfuRUnByDTrbV9PLZcauvvo+Khno04ZM gqwXjQ3ZdeBOaQ41NuIO3oNtbtDDzeKujw6MdZXHEo0LuOL1qWcMHwSO2g0dqWrveZHL 2iFbrtzBFTJ9wK9knRFvAvyuszhN+1v5pQDsjhfd3gvXpwB8N3pZsdwYT38aHcUbF6FQ rnpex5qyAmYWsnUZeWgjzZWUMxzHTLC4uQtVZvCFgE1jEKsdf3tgOMhkaqxBlgSBW9qF 43Ow== X-Gm-Message-State: APjAAAX+gCXAbDaieBGERXye+DRgCm7m44+vEn9RllMnj4pBPg20sbI0 HruOA3tK3gR71ytZ523VhW8= X-Received: by 2002:a1c:e108:: with SMTP id y8mr25411938wmg.147.1578995508532; Tue, 14 Jan 2020 01:51:48 -0800 (PST) Received: from localhost.localdomain ([154.70.37.104]) by smtp.googlemail.com with ESMTPSA id y20sm17454881wmi.25.2020.01.14.01.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 01:51:48 -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 0/5] drm/i915: conversion to new drm logging macros. Date: Tue, 14 Jan 2020 12:51:02 +0300 Message-Id: <20200114095107.21197-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 This series continues the conversion to the new struct drm_device based logging macros in drm/i915. These patches were mostly achieved using coccinelle: @rule1@ identifier fn, T; @@ fn(struct drm_i915_private *T,...) { <+... ( -DRM_INFO( +drm_info(&T->drm, ...) | -DRM_ERROR( +drm_err(&T->drm, ...) | -DRM_WARN( +drm_warn(&T->drm, ...) | -DRM_DEBUG( +drm_dbg(&T->drm, ...) | -DRM_DEBUG_DRIVER( +drm_dbg(&T->drm, ...) | -DRM_DEBUG_KMS( +drm_dbg_kms(&T->drm, ...) ) ...+> } @rule2@ identifier fn, T; @@ fn(...) { ... struct drm_i915_private *T = ...; <+... ( -DRM_INFO( +drm_info(&T->drm, ...) | -DRM_ERROR( +drm_err(&T->drm, ...) | -DRM_WARN( +drm_warn(&T->drm, ...) | -DRM_DEBUG( +drm_dbg(&T->drm, ...) | -DRM_DEBUG_KMS( +drm_dbg_kms(&T->drm, ...) | -DRM_DEBUG_DRIVER( +drm_dbg(&T->drm, ...) ) ...+> } Wambui Karuga (5): drm/i915/atomic: use new logging macros for debug drm/i915/audio: convert to new drm logging macros. drm/i915/bios: convert to new drm logging macros. drm/i915/bw: convert to new drm_device based logging macros. drm/i915/cdclk: use new drm logging macros. drivers/gpu/drm/i915/display/intel_atomic_plane.c | 9 +- drivers/gpu/drm/i915/display/intel_audio.c | 71 ++-- drivers/gpu/drm/i915/display/intel_bios.c | 357 +++++++++++------- drivers/gpu/drm/i915/display/intel_bw.c | 29 +- drivers/gpu/drm/i915/display/intel_cdclk.c | 109 +++--- 5 files changed, 337 insertions(+), 238 deletions(-) -- 2.24.1