Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp183660pxb; Wed, 11 Nov 2020 00:34:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1sufF0sKopkl90EQh3aDKjI1n5tOfHxs7gmeyf2YSYgCAeaX+yJ3xX5mFXyWlJIy/r1dN X-Received: by 2002:a17:906:d9ce:: with SMTP id qk14mr23949437ejb.522.1605083658550; Wed, 11 Nov 2020 00:34:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605083658; cv=none; d=google.com; s=arc-20160816; b=Mlx4OacIsX6v7PpWw9aJp50a6NQ3Sxo+zNxYKKkCNIjJsnYGvkqWoujrf+0DLkv1NR 6+fWHpYGd5dfPZjnXedngkHVtYIjakUgA5prxzWzeX1DjeCRBT30Q9vvSiN9/ZAR1tGs YHqg50GV4AJJZkOFDhk2LCsd8tYEUkNsK4bN9gTKZ3nWRAe0Z8yzD3Ra/2EnGfVR4F3l Ku5L2PPwyISs6sh0PjUR3VDcz5YzZU5sV71+nI3E3qv3s0F92oTVGGATtU84t78or6Id TAAh7KnvhkcFzJObXCLoYeBtlmRyfwx0VCqpXD9VyZ2G2d8zF8qp30+XCsDfvLSSsHrr nung== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=8GxfZ3BH0km72FRznOpx2khthWwq715JX3jnuaV1eRg=; b=WFjQsC4EJYg90a9Af/tvE6wWHLy4k3UIWElQbGiACvXt5oKgjEeiJSLg8T11/0dbJq zsBm5ah+Y5IRcr6Tpn1k+UWOQjRMeDP6FGBI/rEO14c+t6BxregjklOmBVrmvd0Hzp60 gOSQzgN4cKu9ZY8jD9vBvlw/z7tw/rFaYVh/pP+ZEnhb5At+wSd+fdiJBcK2sNuPhCBG ZNg1pTSo120OPQfflCbx9A/ktwywFF8PFJux0Ta1kYRraS1Trn1Z9IRMSN4g7rdGE6UM j6xc4YY63MnJCDVK23i8Jcrs3CkAWX0E3Y514hHTvjRIJwPrlittM1Bao8QgeJRwgqmF 3hoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si772584ejc.622.2020.11.11.00.33.52; Wed, 11 Nov 2020 00:34:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726096AbgKKIcU (ORCPT + 99 others); Wed, 11 Nov 2020 03:32:20 -0500 Received: from m176115.mail.qiye.163.com ([59.111.176.115]:50810 "EHLO m176115.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725468AbgKKIcT (ORCPT ); Wed, 11 Nov 2020 03:32:19 -0500 Received: from ubuntu.localdomain (unknown [157.0.31.124]) by m176115.mail.qiye.163.com (Hmail) with ESMTPA id 369C2666DDA; Wed, 11 Nov 2020 16:32:15 +0800 (CST) From: Bernard Zhao To: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Jordan Crouse , Bernard Zhao , Bjorn Andersson , Brian Masney , Shawn Guo , Eric Anholt , Thomas Zimmermann , Sam Ravnborg , "Gustavo A. R. Silva" , Emil Velikov , Jonathan Marek , Dave Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] adreno/a3xx_gpu.c: add KERN_LEVEL to printk Date: Wed, 11 Nov 2020 00:31:19 -0800 Message-Id: <20201111083131.39817-3-bernard@vivo.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20201111083131.39817-1-bernard@vivo.com> References: <20201111083131.39817-1-bernard@vivo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQhhNSkxPHk0YQk9LVkpNS05LQ0hOSE5OTk9VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MQg6FDo6PT8pPxcrFghCCB5O NBUaCRlVSlVKTUtOS0NITkhNS0tOVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlKTkxV S1VISlVKSU9ZV1kIAVlBSEpOQjcG X-HM-Tid: 0a75b66f188a9373kuws369c2666dda Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add KERN_LEVEL to printk. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c index f29c77d9cd42..64c9a9448f53 100644 --- a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c @@ -356,7 +356,7 @@ static void a3xx_recover(struct msm_gpu *gpu) adreno_dump_info(gpu); for (i = 0; i < 8; i++) { - printk("CP_SCRATCH_REG%d: %u\n", i, + printk(KERN_DEBUG "CP_SCRATCH_REG%d: %u\n", i, gpu_read(gpu, REG_AXXX_CP_SCRATCH_REG0 + i)); } @@ -459,7 +459,7 @@ static const unsigned int a3xx_registers[] = { /* would be nice to not have to duplicate the _show() stuff with printk(): */ static void a3xx_dump(struct msm_gpu *gpu) { - printk("status: %08x\n", + printk(KERN_DEBUG "status: %08x\n", gpu_read(gpu, REG_A3XX_RBBM_STATUS)); adreno_dump(gpu); } -- 2.29.0