From patchwork Tue Jun 11 15:21:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10987567 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 3F45114C0 for ; Tue, 11 Jun 2019 15:22:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D52328628 for ; Tue, 11 Jun 2019 15:22:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 219162863E; Tue, 11 Jun 2019 15:22:04 +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 D54062862A for ; Tue, 11 Jun 2019 15:22:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49116891EB; Tue, 11 Jun 2019 15:22:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by gabe.freedesktop.org (Postfix) with ESMTPS id D13CF891EB for ; Tue, 11 Jun 2019 15:21:59 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id i34so14985578qta.6 for ; Tue, 11 Jun 2019 08:21:59 -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=ravhFNkMcQ1um+wHwyFB5Wth+TRF0BDgyAEGNz2KUCk=; b=NhSNSjEaoSRRtgWx19amI65rqn6HkFEHy9gD0cN14s/QFwwLa+TzAkQQtVJCrixtvl y2pSc9PIn6uohhdiB2JSE8N9GQAacJtIHgN+pcC9NER+qXLAnvnghraI110pR3g6PgLS mZDPkc6xoGIvV2M/osbZ1OMJnem0VAtcIMNWvNobwB1shqYsnuRAow+0zmIMMxp9NErw HmRYp/EzMifrGjlhA4sjE0DCIL0Xo3SKfEtGyCBzWY4FLy44K92eSz1jp6seI7u8ZtXA O3K0W74l2vlYgi2MvTtiAy2SbfyGMF0WA3nhu/bTYao7NBBJVss+LukH2dygcwS8/JCk VgFw== X-Gm-Message-State: APjAAAU2BPF4sWFH8E4cq0FxwSTl6VCmXmPGCRjhkWv3gz9dtG1wMhdy hReuoXilFSRIgRX80oM8BuM= X-Google-Smtp-Source: APXvYqyn6VxU4w7nnlCaITaoBVyqp00ofinH+zDu6x4uybj6TI8SAWeWPL5idNuksgBnxkCdcparGg== X-Received: by 2002:ac8:336a:: with SMTP id u39mr1884140qta.178.1560266518873; Tue, 11 Jun 2019 08:21:58 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id h40sm1602597qth.4.2019.06.11.08.21.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 08:21:58 -0700 (PDT) From: Fabio Estevam To: l.stach@pengutronix.de Subject: [PATCH] drm/etnaviv: Use dev_info() instead of pr_info() Date: Tue, 11 Jun 2019 12:21:57 -0300 Message-Id: <20190611152157.18716-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=ravhFNkMcQ1um+wHwyFB5Wth+TRF0BDgyAEGNz2KUCk=; b=huJZ31GPMLnfdngL9iBNTerhV2CkN1abvSWml7PQwbYZt72zw+Pwb8MjrDxBY7Jp0I G4dUKq/cMO1iZUJqGK27UpTvVqP3WDNLN0AqTlHmX3nLq9292QCyG5BPYRHVCpkAyXI2 ulcXmxcNE9vlgr83eDyeM+ofyp5KC2kvYrOUA2HD7kpPtkjZLYx8ScNuzbqX7ocqP5rG kVYq5Zf1mXIJWsibfEHR0SlYuchZIwUOUjeJVONja5Sj9bWe1uIs8n9W35/Bc0W+3u9/ 2yl2Ar0YI8RVtnZ4Y06oOUFvUqIyDhj0o7uElWm8eoKJAg/e4uLZSvnFLboQVa6shC7B OZTw== 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 error messages inside drivers, so switch to dev_info(). Signed-off-by: Fabio Estevam --- 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); } /*