From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2248C05027 for ; Fri, 10 Feb 2023 11:46:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E010310ED0C; Fri, 10 Feb 2023 11:46:46 +0000 (UTC) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id A6FF910ECFD; Fri, 10 Feb 2023 11:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676029603; x=1707565603; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ap8cD2IgNnvPfZCWuUY84E2oIu4Xf38wwDaaCcBXOsU=; b=hueQkLK7C7e5XSlGL8PZFxs4F9zyLTAWaqsVOaEdwNn+7bIES+WX1Hci 7ZEzxQVCboroWOnnw/gsXNZEtGPY6uvs/7r927KW0ff/NhKnKEUgOnSwc zCgIkLoMDqS0C3hHuhKvWnzpMmWpf7JI+MzBd5Tjnug/Mgt8zbWEgpQQM MfOpQw6/j4OfZGUwLCQtChEuT4ggyoPkOHKO9Es908UIT5QKQEuEmpVTc IvVHQ34F9MFXAqHUQg/ZobY9ExoZj3L9N/Eaz+YAgNRHWSR8LfAfxfZ12 1DxyEeFBHEFTYKNbHu3iDuoYeZTpJ5+Xt6iPIuXc8fYS38RpLcqGi7aAc w==; X-IronPort-AV: E=McAfee;i="6500,9779,10616"; a="392802947" X-IronPort-AV: E=Sophos;i="5.97,286,1669104000"; d="scan'208";a="392802947" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2023 03:46:43 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10616"; a="617868309" X-IronPort-AV: E=Sophos;i="5.97,286,1669104000"; d="scan'208";a="617868309" Received: from mleshin-mobl1.ger.corp.intel.com (HELO intel.com) ([10.252.48.65]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2023 03:46:40 -0800 Date: Fri, 10 Feb 2023 12:46:36 +0100 From: Andi Shyti To: Andi Shyti Message-ID: References: <20230117115350.1071-1-nirmoy.das@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org, Matthew Auld , dri-devel@lists.freedesktop.org, Maxime Ripard , Thomas Zimmermann , David Airlie , Nirmoy Das Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, > can any of the DRM maintainers please check and eventually ack > this patch? I renew my request for an ack from any of the drm maintainers. This patch has been already reviewd. If it's OK I can take it into the drm-intel-gt-next branch. Thanks, Andi > On Tue, Jan 17, 2023 at 12:53:49PM +0100, Nirmoy Das wrote: > > Add a function for ratelimitted debug print. > > > > Cc: Maarten Lankhorst > > Cc: Maxime Ripard > > Cc: Thomas Zimmermann > > Cc: David Airlie > > Cc: Daniel Vetter > > Reviewed-by: Matthew Auld > > Signed-off-by: Nirmoy Das > > Reviewed-by: Andi Shyti > > Thanks, > Andi > > > --- > > include/drm/drm_print.h | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h > > index a44fb7ef257f..1d839f507319 100644 > > --- a/include/drm/drm_print.h > > +++ b/include/drm/drm_print.h > > @@ -602,6 +602,9 @@ void __drm_err(const char *format, ...); > > drm_dev_printk(drm_ ? drm_->dev : NULL, KERN_DEBUG, fmt, ## __VA_ARGS__); \ > > }) > > > > +#define drm_dbg_ratelimited(drm, fmt, ...) \ > > + __DRM_DEFINE_DBG_RATELIMITED(DRIVER, drm, fmt, ## __VA_ARGS__) > > + > > #define drm_dbg_kms_ratelimited(drm, fmt, ...) \ > > __DRM_DEFINE_DBG_RATELIMITED(KMS, drm, fmt, ## __VA_ARGS__) > > > > -- > > 2.39.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72FAFC636CD for ; Fri, 10 Feb 2023 11:46:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 43CF710ECFE; Fri, 10 Feb 2023 11:46:46 +0000 (UTC) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id A6FF910ECFD; Fri, 10 Feb 2023 11:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676029603; x=1707565603; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ap8cD2IgNnvPfZCWuUY84E2oIu4Xf38wwDaaCcBXOsU=; b=hueQkLK7C7e5XSlGL8PZFxs4F9zyLTAWaqsVOaEdwNn+7bIES+WX1Hci 7ZEzxQVCboroWOnnw/gsXNZEtGPY6uvs/7r927KW0ff/NhKnKEUgOnSwc zCgIkLoMDqS0C3hHuhKvWnzpMmWpf7JI+MzBd5Tjnug/Mgt8zbWEgpQQM MfOpQw6/j4OfZGUwLCQtChEuT4ggyoPkOHKO9Es908UIT5QKQEuEmpVTc IvVHQ34F9MFXAqHUQg/ZobY9ExoZj3L9N/Eaz+YAgNRHWSR8LfAfxfZ12 1DxyEeFBHEFTYKNbHu3iDuoYeZTpJ5+Xt6iPIuXc8fYS38RpLcqGi7aAc w==; X-IronPort-AV: E=McAfee;i="6500,9779,10616"; a="392802947" X-IronPort-AV: E=Sophos;i="5.97,286,1669104000"; d="scan'208";a="392802947" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2023 03:46:43 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10616"; a="617868309" X-IronPort-AV: E=Sophos;i="5.97,286,1669104000"; d="scan'208";a="617868309" Received: from mleshin-mobl1.ger.corp.intel.com (HELO intel.com) ([10.252.48.65]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2023 03:46:40 -0800 Date: Fri, 10 Feb 2023 12:46:36 +0100 From: Andi Shyti To: Andi Shyti Subject: Re: [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited Message-ID: References: <20230117115350.1071-1-nirmoy.das@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, Matthew Auld , dri-devel@lists.freedesktop.org, Thomas Zimmermann , Nirmoy Das Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, > can any of the DRM maintainers please check and eventually ack > this patch? I renew my request for an ack from any of the drm maintainers. This patch has been already reviewd. If it's OK I can take it into the drm-intel-gt-next branch. Thanks, Andi > On Tue, Jan 17, 2023 at 12:53:49PM +0100, Nirmoy Das wrote: > > Add a function for ratelimitted debug print. > > > > Cc: Maarten Lankhorst > > Cc: Maxime Ripard > > Cc: Thomas Zimmermann > > Cc: David Airlie > > Cc: Daniel Vetter > > Reviewed-by: Matthew Auld > > Signed-off-by: Nirmoy Das > > Reviewed-by: Andi Shyti > > Thanks, > Andi > > > --- > > include/drm/drm_print.h | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h > > index a44fb7ef257f..1d839f507319 100644 > > --- a/include/drm/drm_print.h > > +++ b/include/drm/drm_print.h > > @@ -602,6 +602,9 @@ void __drm_err(const char *format, ...); > > drm_dev_printk(drm_ ? drm_->dev : NULL, KERN_DEBUG, fmt, ## __VA_ARGS__); \ > > }) > > > > +#define drm_dbg_ratelimited(drm, fmt, ...) \ > > + __DRM_DEFINE_DBG_RATELIMITED(DRIVER, drm, fmt, ## __VA_ARGS__) > > + > > #define drm_dbg_kms_ratelimited(drm, fmt, ...) \ > > __DRM_DEFINE_DBG_RATELIMITED(KMS, drm, fmt, ## __VA_ARGS__) > > > > -- > > 2.39.0