From patchwork Wed Jan 24 16:18:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10183247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A9DC960353 for ; Wed, 24 Jan 2018 23:08:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9367428942 for ; Wed, 24 Jan 2018 23:08:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8827228958; Wed, 24 Jan 2018 23:08:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 526FE28946 for ; Wed, 24 Jan 2018 23:08:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C7D946E6D5; Wed, 24 Jan 2018 23:08:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39CFE6E615 for ; Wed, 24 Jan 2018 16:18:55 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id 141so9615311wme.3 for ; Wed, 24 Jan 2018 08:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=75hS5DKwDr913m4RJ5GlbGGPBG/OmN2/coMR3qpH0GA=; b=olJeEwcUBjflcTHW7K2WKmFeTzkWXkF0wnrW/bNYeRQqKD4O9nM88SEUyIBWgfBQNV ff/2E7mqquD8L/Z9ZGkTO+jq0wjPDWy09PjYpiI4tQRlWJA4ubf4Iy0YrrdOmb7T2gb4 +jAp481sAJ6kcI9ZxlmDQflK2LnS/ABcfYkDZMksdJ8Vxm2PqX1QBWD+cFRhsqHb1u2m Go//e/oF02nQXZ9rBPHPA/im22CQnktAWC9llN53LoikdSKyDzsq50xLIScxJpqgusAA coM9cYgZTAPDIBt9dQfzrTRct+x+NKrwQv5FNebmFWMbh3eg+HiW7nqla2Q5HmswemyN UZPg== 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; bh=75hS5DKwDr913m4RJ5GlbGGPBG/OmN2/coMR3qpH0GA=; b=DaeZQaYkkmMCFLPGU60BlxqGqzNtqWsoaE/O8zIDlI/nMQwNsPffdwH4HfRTylCSar PYcKwvhre1lpySf7clD+1GxFQe6MVZ7wgr6ISRxJ0CdpjYqtrEAZ9hav8cPtWw1Hiz+w olDpfTBfF1qTrHc9kvOa0wdoZRjlv7ze+zFZblLCSmpNl+UXque3WOrpQZhcWkiP4mCK fpP/M3ibfn9P9ou7veZ2UMtz4Zp+OtNV1E6VjKsX5LpUIWX3R15uxy2QbUCmaoXM+aHG E7sdkILPfjqtdwfyKBZEYIlD0euutLlKMUxTJSJi6Fc2t+WDN5pDaTC7xekNhGXW7nof F/sg== X-Gm-Message-State: AKwxyteEXNRLBZmcynKtAN37tvK5gbJRpxGTS6BHBwpYsPpqVIRS/P8P +2vQuhUuZLctVTE+i57eGZuDoA== X-Google-Smtp-Source: AH8x227to4MGjnOGLnS2khYu2yZLJtMUy9wIkJbtL9mBLzXrB+IJnFeyJ1EGXxkeA/P+/BCq1Wc62A== X-Received: by 10.28.71.77 with SMTP id u74mr5154520wma.150.1516810733953; Wed, 24 Jan 2018 08:18:53 -0800 (PST) Received: from localhost.localdomain ([95.146.148.3]) by smtp.gmail.com with ESMTPSA id y62sm5702609wrb.48.2018.01.24.08.18.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jan 2018 08:18:53 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Subject: [RFC 3/6] drm/i915: Give our log messages our name Date: Wed, 24 Jan 2018 16:18:18 +0000 Message-Id: <20180124161821.28780-4-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180124161821.28780-1-tvrtko.ursulin@linux.intel.com> References: <20180124161821.28780-1-tvrtko.ursulin@linux.intel.com> X-Mailman-Approved-At: Wed, 24 Jan 2018 23:07:46 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , dri-devel@lists.freedesktop.org, tursulin@ursulin.net MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin Define DRM_LOG_NAME to i915 so that the log messages we output change from: [drm] RC6 on to: [i915] RC6 on Signed-off-by: Tvrtko Ursulin Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/i915/i915_drv.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 8333692dac5a..2b48a7d2d129 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -30,6 +30,11 @@ #ifndef _I915_DRV_H_ #define _I915_DRV_H_ +#ifdef DRM_LOG_NAME +#undef DRM_LOG_NAME +#endif +#define DRM_LOG_NAME "i915" + #include #include