Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1170427ybb; Wed, 8 Apr 2020 18:29:41 -0700 (PDT) X-Google-Smtp-Source: APiQypJf5Jxa6E8QdfHSN1S3DwaTdLKB2SGAyLhZQ1QYUJ0YwVt+Jb0kuRfaKn26CJPsuj6rDPmK X-Received: by 2002:aca:ab58:: with SMTP id u85mr3702976oie.173.1586395781808; Wed, 08 Apr 2020 18:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586395781; cv=none; d=google.com; s=arc-20160816; b=eO91FnAc3P3AdUbyUxbPoTtFEPAISwGF0MNi5ffA1SzX8sC4LYyoShFO6hUwDe7hxq UgjXToUgXXTa+kVJMVtlG0mgi50aPqxxxB7MDhXr3mPFPR3iWprGmcidRye7R0n9Dxax 8kLFLEilX7lJuAd3EP1z4+/1xcc4RBAkeJ2s3s9V3MDijY1j8r/3xdQ/uEofB+n14GnW XkuMUrN8vF0kb4Cu/YX81S/HuKckTSDTSZSpSITTD4Fs2RPGzr1wA4oPqKIXr84lRgpK UWFmjoe9hAq+3y3K3bbr414eRSb26XhmYmG0NSHKyfu+SOtZghlQhDVw0oW0DNfZf53n oT7A== 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=iAZ49xsLFafBw1eWwQbQgcyCMLWhUsSohaRadPz3t44=; b=XWFCT3f9E/QNT+t8q+AgDxorIWCbzv3UGC3/8JwjrhmZrahRewAHAuXtOE1DWxkZTN MiXPUH4b8vEhzaw2C60M3EFN7P6wrdDL0JtJXJTIA29lJR3K2u51nlpw/mJYVoEHkjqS OPX5/HUDOg6jyb91sLSt2iL7S/Zecjx2uMvIPlFgUVlR7pSPLnUKf7jjcnEITQp+t13Y oaIU7GDWjXgUNrZ/NpfvCaO7YW4v3Cjv78o7V7PIzL096p7musoPljTzoPxsfGulqL8J 3XN2v1ZdR8FTq3qLf8vMyeSuTyQIDzaIHs52sudgyml9mjsOsMqUA3Np7fUyLQCzJSY2 JxNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aurabindo.in header.s=google header.b="gGAFmj/f"; 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=NONE dis=NONE) header.from=aurabindo.in Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z65si3239918otb.197.2020.04.08.18.29.27; Wed, 08 Apr 2020 18:29:41 -0700 (PDT) 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=@aurabindo.in header.s=google header.b="gGAFmj/f"; 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=NONE dis=NONE) header.from=aurabindo.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbgDIB21 (ORCPT + 99 others); Wed, 8 Apr 2020 21:28:27 -0400 Received: from mail-qv1-f67.google.com ([209.85.219.67]:33644 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726669AbgDIB2Y (ORCPT ); Wed, 8 Apr 2020 21:28:24 -0400 Received: by mail-qv1-f67.google.com with SMTP id p19so4779986qve.0 for ; Wed, 08 Apr 2020 18:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aurabindo.in; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iAZ49xsLFafBw1eWwQbQgcyCMLWhUsSohaRadPz3t44=; b=gGAFmj/fpiuOrhiYazOd8ZJKb6FeO5AcwBXbcykszik2Cxb11C6INXDPGjZMgX/IFL +8D0QXaBjKOfXqrfiz6uxYMOaI+BTDldCTv+XLW5SH3eY3eJ9F4BdJAQvelqu8zm58RA kOFtmJcThBkMtMItCWkwgfjkzJVC141uKOV6IXm/dAyZ0eueS4wO3b437dyZRrVzdG6I 601kOarVFZTFtZOMcPJkE9U7ugiUoPFoXsFT+CLNnzBlQ5DKbHJQpeHrHCMSO18ArPJ6 5XSjo+2ShjDn/GNQK7IhGamQxv+BtZuN4R9pV98ffL7O6gPAENUwTiasoXfWUWVkjRf1 j2ww== 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=iAZ49xsLFafBw1eWwQbQgcyCMLWhUsSohaRadPz3t44=; b=t64Qx2dvsulTSxOaHapV3iA9grhT21zgni1Ya22L1oiEI69tPB4ASi+3SO9po8jNng SwYdfpORRiEDBv2n9uK1MEyV4mzclm+EHUb0CcnGC/j2zzJESkLoXPc9E5g74Zrp+9MX ObWh7o2CR7HwC6bBNGsv9GrFwYxiLDeP/wAeC0JENfI5aZzeGYRrtt7QgIrDmherIg9b VIbPDBYR+xFC1tQ6swJaqH1PHhROEcfhChLrRQJW1dk43nvMbiFzqlt1eI8wZGNwl08Y akH5/Stz0vgzRI/C5WaUozaq91uumuqAph9WPxPzOfaA42MBpFsz7/h+OCKSWsKXvZsJ Y1jg== X-Gm-Message-State: AGi0PuaH1AR4opmpXJz6FSUw5z85mN/y+R2fSpAK2W2Xd/obGUjvxaLE dpZbEPD1vpKMFY+lzqIpEry/5Q== X-Received: by 2002:a05:6214:9cb:: with SMTP id dp11mr9948057qvb.60.1586395702443; Wed, 08 Apr 2020 18:28:22 -0700 (PDT) Received: from localhost.localdomain (135-23-249-169.cpe.pppoe.ca. [135.23.249.169]) by smtp.gmail.com with ESMTPSA id h13sm11710186qkj.21.2020.04.08.18.28.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 18:28:22 -0700 (PDT) From: Aurabindo Pillai To: christian.koenig@amd.com, alexander.deucher@amd.com, David1.Zhou@amd.com Cc: airlied@linux.ie, daniel@ffwll.ch, Felix.Kuehling@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] drm/amd/amdgpu: add print prefix for dev_* variants Date: Wed, 8 Apr 2020 21:28:14 -0400 Message-Id: <20200409012815.22309-3-mail@aurabindo.in> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200409012815.22309-1-mail@aurabindo.in> References: <20200409012815.22309-1-mail@aurabindo.in> 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 Define dev_fmt macro for informative print messages Signed-off-by: Aurabindo Pillai --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 67d654a89..7a52d37e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -34,6 +34,12 @@ #define pr_fmt(fmt) "amdgpu: " fmt +#ifdef dev_fmt +#undef dev_fmt +#endif + +#define dev_fmt(fmt) "amdgpu: " fmt + #include "amdgpu_ctx.h" #include -- 2.26.0