Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4E9FC33CB2 for ; Fri, 31 Jan 2020 09:34:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BB02220705 for ; Fri, 31 Jan 2020 09:34:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iWAKOwfM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB02220705 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 52C6288161; Fri, 31 Jan 2020 09:34:45 +0000 (UTC) Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB35F6FAD4 for ; Fri, 31 Jan 2020 09:34:41 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id t14so7859602wmi.5 for ; Fri, 31 Jan 2020 01:34:41 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=1om9VHbaLA2HO3oYnW/IwfmS0msvq4o/d8ocZPKzdSI=; b=iWAKOwfMmkMwcET+yAsbLjxobp+8kmOi81vV02j3aUf97WaYfhYxeswEqIPpR18rDK UzbhJD9LVTgqVRO7uEl+Prnfm4dvfxiQkkVL/p2+L29dGh9HfBacmzefGKuwpvC1PDwH jefZkTwWsYR62KSmtRQIz52lzhPxSGNISKaYLMBD7NpacHkBpH9HBJABQ88BNWppxScd oUXjWHpEHB/C521Qkb5OJj+V7MbC4r80zcDJBzSReiERSy39hYjTMX4wp+ExaEYGqvCf BOB0ABQtLSXAn4jTc9Z3kb5v8spe6JaVmzuZcHWMFe3u7/GCCRRAn18Q87G6TaR6jgs7 Cc9A== 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=1om9VHbaLA2HO3oYnW/IwfmS0msvq4o/d8ocZPKzdSI=; b=AuQ81v29bruXN990QFSPdmL2fMhaChhFZamtiGSyCBiYC9sc87ENKmZL/Fpk2vsRdk 3JTLlg/T9eMQZGSq7/m3LE0K5VlWo7pxUYeY2XyJVEb3zsXGMtnvB3nZtxQM3akzzCtn aTy+Ynsh0Sxg+opHkffzfxr7xVmcyKwSQmjwqOviwRt+rWbUCrxiYaze21rYR/RM0rx0 tobdI2H+FPqMmy+pEX88LgtXMPIERSe/Fe6Y1UpMyv5A0MwHPpfCiihtJuKBZ67+ZBs8 JNZ9XYiPXgtu+sVTZGxSekt+bY80LuTOBsJRyhhHVNxubEavqqiUFql9ISkVphR+XntX 10hg== X-Gm-Message-State: APjAAAWiVYm0KW2RXJk0pp70aa6Cqe8v8aBF+1GtouySiiRYOgNphNAj xuJYI30Pq+kGZmuW4Lq8h68= X-Google-Smtp-Source: APXvYqz0YtzXnbmOS6Wchk9YMMq3U4LFRye1xDcoWsz8rZAvIZ+117QSz7pAg+ydDePDX9g58fEpWQ== X-Received: by 2002:a1c:988a:: with SMTP id a132mr10539042wme.113.1580463279449; Fri, 31 Jan 2020 01:34:39 -0800 (PST) Received: from wambui.zuku.co.ke ([197.237.61.225]) by smtp.googlemail.com with ESMTPSA id b67sm10365360wmc.38.2020.01.31.01.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jan 2020 01:34:38 -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 Date: Fri, 31 Jan 2020 12:34:16 +0300 Message-Id: <20200131093416.28431-6-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200131093416.28431-1-wambui.karugax@gmail.com> References: <20200131093416.28431-1-wambui.karugax@gmail.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 5/5] drm/i915/pci: conversion to drm_device based logging macros. 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: intel-gfx@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Manual conversion of instances of printk based drm logging macros to the struct drm_device based logging macros in i915/i915_pci.c. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/i915/i915_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index 741bffc22867..6413f22356ae 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -960,7 +960,8 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) if (intel_info->require_force_probe && !force_probe(pdev->device, i915_modparams.force_probe)) { - DRM_INFO("Your graphics device %04x is not properly supported by the driver in this\n" + drm_info(&pdev_to_i915(pdev)->drm, + "Your graphics device %04x is not properly supported by the driver in this\n" "kernel version. To force driver probe anyway, use i915.force_probe=%04x\n" "module parameter or CONFIG_DRM_I915_FORCE_PROBE=%04x configuration option,\n" "or (recommended) check for kernel updates.\n", -- 2.25.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx