Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp352681ybl; Tue, 7 Jan 2020 07:15:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwvkVJ0zb+2GhMCu0kUDioxMeqwlTbHe8qkDa8OHion3NHKsPzsO4jXrrmSWywtAvPI840Q X-Received: by 2002:a9d:67c1:: with SMTP id c1mr211872otn.161.1578410101129; Tue, 07 Jan 2020 07:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578410100; cv=none; d=google.com; s=arc-20160816; b=0vahumXgH9VHEmq+SR5YTjrmtix8lYaKKNc/HVxb4j4xm/nXNrmZ4MKqKZyviZ2cMx W9LuwhtiUknqycsLTh1PHczJbv5m+rF1ZWmMhgzmUjtFWLXpPmADzPuaeln7lzncMuIo 1iaX8J97KJHlyOeba+39dotJLlUoRhnTV2r98NrK9EKJzOEyCcbAHkrPB3z9OiUq9PoL 69VvrT1oWZzOL8lKFEm7zLbDKWpmsb4p5a31qHP0GHDDuIeLJtllvQn2dE/VmviT+AFj u1DY9b8t7hgDBfF0FM+ld8AqtBBlU3+JL/qwR823cI+179xYGM+VNABgjS9phsTaRze0 Qlzg== 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=MLtZU9HpYzbZmbVfIezeBKYweFkIIWAJULqKJXUB1GQ=; b=vCNiHCoBDGJwSlbwU8cFSb1swVZCr7AW++Ot40wslvlMgXZ+Wtqdb+TxASIgJT2AuX ed9B0HufonG79jmsTKLyxGWOi+kvuJ2ZJn8jADN972mZ2KYl7BJ4292/dzdARhvcKvl3 RZDH6Bc3WaA1WPS3vaRNFnklQO/JvrP+ycLCbkhgCBDEMM/Osxc59dFWSJqrftA7uMI3 kKxS9K0Pz3ePhVMWY5gyL3FEcHQJZrQ0vuE3aVfXq1DfX28nCWNheBFxCPxdRGzG9ZC7 GuI7OF947J7ghaSzj3CpZQcTIJ+LXSmVDQFBsv/p4forfCrx+VW75epxh7IFRxkq/cdZ cqpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pOgpqVCf; 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 z1si38119778otm.242.2020.01.07.07.14.45; Tue, 07 Jan 2020 07:15:00 -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=pOgpqVCf; 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 S1728329AbgAGPNu (ORCPT + 99 others); Tue, 7 Jan 2020 10:13:50 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37795 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728321AbgAGPNu (ORCPT ); Tue, 7 Jan 2020 10:13:50 -0500 Received: by mail-wr1-f67.google.com with SMTP id w15so41763973wru.4 for ; Tue, 07 Jan 2020 07:13:48 -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=MLtZU9HpYzbZmbVfIezeBKYweFkIIWAJULqKJXUB1GQ=; b=pOgpqVCfAihCsGgxWXBFJrVrMFZ9DscVFJmr2f3mWWZ2ESHLCeSot0A1QT2Zwqq1uB JNVqx1wn1BCTOfYgSzizUhF8MB+89T5xL98+9IZ2l/Onwblv6Ah+1ft45QJHqzzFz16r GVF8QBDWDjHomkdoBQc725ggvIXrYsB3SiB+IfjEjR+CMGv8l/XffFFMmcO1WTp9OBx8 GMb0G1IzIzYGpsm6WXuSx2J3shOJyrSZ5yISE4r+W/aPrXP8OSa6C2CJfUQ3McQS6CA+ /ND4N2huk0YC/gN9PP0Yz1yKYfh9ZT8E1/yJfyBTsqRFEzE9kYXc7r27UIRUpQqkWqMR VKnw== 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=MLtZU9HpYzbZmbVfIezeBKYweFkIIWAJULqKJXUB1GQ=; b=eFZvTRI+Gwww7hFBEOuAc38mNMr4FXxM8ovf0r4JtY9hmpqIqFQe2Y75As2nSsUAmM uzaYYt4zNGZL8P5lyVjQdI2d7Z7ac96EJHmy6HTA4K5yI69/+RGm/AKmZZtajNWv2QAq yG+1ElRHQC5rFP5WDlDGUpP49TTZvBxKI5DXVracvUYnkAjeMoItJkNwo++Vzyz+f3Jo DGEA8meLS7ELvvvqRwHba1f0eC+EfZVyXsj26GoZbXpxO23BUEBbi1zAo5+4Qf2+g4oz Ax9iTDGCNkt2SeZ0/4dB6Bry17b3uP/UpKf25BJemgQL0rv37nIpjBOHPDfGlZ3i4cA9 HizA== X-Gm-Message-State: APjAAAW8fvvlCqqEp3kbsaJFYfYt4fkiaE4h7Eky5oBDMaLqy8Tt0hNb yGxOOVtpiAm/h+XnUzDWMtw= X-Received: by 2002:a5d:6a0f:: with SMTP id m15mr109350909wru.40.1578410027672; Tue, 07 Jan 2020 07:13:47 -0800 (PST) Received: from wambui.zuku.co.ke ([197.237.61.225]) by smtp.googlemail.com with ESMTPSA id c4sm27076664wml.7.2020.01.07.07.13.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 07:13:47 -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: seanpaul@chromium.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] drm/i915: use new struct drm_device based logging macros. Date: Tue, 7 Jan 2020 18:13:31 +0300 Message-Id: <7f3df2575ab41a052b7beea86ecc5385edf6f6da.1578409433.git.wambui.karugax@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: 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 Replace instances of printk based logging macros with the new struct drm_device logging macros in i915/intel_region_lmem.c. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/i915/intel_region_lmem.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_region_lmem.c b/drivers/gpu/drm/i915/intel_region_lmem.c index e6a6b571dad4..14b59b899c9b 100644 --- a/drivers/gpu/drm/i915/intel_region_lmem.c +++ b/drivers/gpu/drm/i915/intel_region_lmem.c @@ -125,10 +125,12 @@ intel_setup_fake_lmem(struct drm_i915_private *i915) io_start, &intel_region_lmem_ops); if (!IS_ERR(mem)) { - DRM_INFO("Intel graphics fake LMEM: %pR\n", &mem->region); - DRM_INFO("Intel graphics fake LMEM IO start: %llx\n", - (u64)mem->io_start); - DRM_INFO("Intel graphics fake LMEM size: %llx\n", + drm_info(&i915->drm, "Intel graphics fake LMEM: %pR\n", + &mem->region); + drm_info(&i915->drm, + "Intel graphics fake LMEM IO start: %llx\n", + (u64)mem->io_start); + drm_info(&i915->drm, "Intel graphics fake LMEM size: %llx\n", (u64)resource_size(&mem->region)); } -- 2.24.1