From patchwork Tue Jun 11 15:26:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10987571 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A7F5876 for ; Tue, 11 Jun 2019 15:26:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98AB527F3E for ; Tue, 11 Jun 2019 15:26:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D01A282E8; Tue, 11 Jun 2019 15:26:48 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 4CC9B27F3E for ; Tue, 11 Jun 2019 15:26:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 709D289202; Tue, 11 Jun 2019 15:26:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6CA7189202 for ; Tue, 11 Jun 2019 15:26:46 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id n11so12883283qtl.5 for ; Tue, 11 Jun 2019 08:26:46 -0700 (PDT) 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; bh=ebBQKUiLjLTg5JtZg1nMjXLJeHd6Dm6q1qCP/4lzeCk=; b=Ns3xDpfkq4DXdqVC5Der2y50PvUddICAx1eD6EGWmbZzIk4aw2lL76H2rlh4K4GRy8 PmwVsDVePPNolk9qaWTN5e6zSr1RH6Z7MPnJtbv1+IJZegonvnupPfwwjj6A8uWSTFTR cPeZVI5wokGLRKIHIcVwjaN0+1NyrXhft45m6FzZ4KDJKgS0gS9daop/bVeZjnFgIs3i X2RU6Ik2tVgQNZsDYJvHqCW+NKKHCaQYLSbgd+f3lbVSicqh90XRT8D2chOs/K+iS825 1wwVJQyNOT+WrpKBPGuiiVpoL7xy+kguevjuLtnbPOy+FQ2tv01sSaTRZj1CHgV8g1BU 32oQ== X-Gm-Message-State: APjAAAVMzJ+sBDjXIIcC/WLxBtD9hRKqEe1JdESrna/XHyNDPCkKfJ/C kzzKiI8j6qbTfmsCz42MTZY= X-Google-Smtp-Source: APXvYqy22So2pcyMg5uDGe2PaUQ1x4Begi/YCVbe2mQwuMcFLQLT2QGjDZaDTqybqKOqYlKQGoE1zQ== X-Received: by 2002:ac8:2b10:: with SMTP id 16mr46075481qtu.351.1560266805496; Tue, 11 Jun 2019 08:26:45 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id d17sm6255966qtp.84.2019.06.11.08.26.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 08:26:44 -0700 (PDT) From: Fabio Estevam To: l.stach@pengutronix.de Subject: [PATCH v2] drm/etnaviv: Use dev_info() instead of pr_info() Date: Tue, 11 Jun 2019 12:26:39 -0300 Message-Id: <20190611152639.18859-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ebBQKUiLjLTg5JtZg1nMjXLJeHd6Dm6q1qCP/4lzeCk=; b=PnHRsl8PZrsae2YEIq9PDCvxCeI5U7jUr341aKcexGT7YZESalBJ82jpnhFmXAtnLx 4WJC9ukjzrZHFZpMj9910fTQGdgk6jY6+wkN0peVJHGO/7LB4gLpo+zYXbzlCRd5onZg V06dvkCdBYwamsfFZsw7X/OzC6DOXysZRWeJXzns2A1X3l8O91HggO1C7p87jP7Nv3Fm nuxgHkuyaTFlgjdyZ1FID1b1J8HIKKOB0+CwiUwQe/OUY5FWzZNQ/5joNonsViz4X17d T0IkW2N8hegCz0cWKw5gdGJC1D0k8V85JOzgaso5G5rrs+2yEnOIFmkbTn143Ze+mTLB pRYA== 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: dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP dev_info() is more appropriate for printing _info level messages inside drivers, so switch to dev_info(). Signed-off-by: Fabio Estevam --- Changes since v1: - Adjust commit log to say "_info level" instead of "error" drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_buffer.c b/drivers/gpu/drm/etnaviv/etnaviv_buffer.c index 160ce3c060a5..827b5e42dbe3 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_buffer.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_buffer.c @@ -414,18 +414,18 @@ void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, buffer->user_size - 4); if (drm_debug & DRM_UT_DRIVER) - pr_info("stream link to 0x%08x @ 0x%08x %p\n", - return_target, etnaviv_cmdbuf_get_va(cmdbuf), - cmdbuf->vaddr); + dev_info(gpu->dev, "stream link to 0x%08x @ 0x%08x %p\n", + return_target, etnaviv_cmdbuf_get_va(cmdbuf), + cmdbuf->vaddr); if (drm_debug & DRM_UT_DRIVER) { print_hex_dump(KERN_INFO, "cmd ", DUMP_PREFIX_OFFSET, 16, 4, cmdbuf->vaddr, cmdbuf->size, 0); - pr_info("link op: %p\n", buffer->vaddr + waitlink_offset); - pr_info("addr: 0x%08x\n", link_target); - pr_info("back: 0x%08x\n", return_target); - pr_info("event: %d\n", event); + dev_info(gpu->dev, "link op: %p\n", buffer->vaddr + waitlink_offset); + dev_info(gpu->dev, "addr: 0x%08x\n", link_target); + dev_info(gpu->dev, "back: 0x%08x\n", return_target); + dev_info(gpu->dev, "event: %d\n", event); } /*