From patchwork Tue Oct 15 13:40:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11190361 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7BD0C112B for ; Tue, 15 Oct 2019 13:40:29 +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 62E3121925 for ; Tue, 15 Oct 2019 13:40:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62E3121925 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 05745899DC; Tue, 15 Oct 2019 13:40:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22C366E286; Tue, 15 Oct 2019 13:40:16 +0000 (UTC) Received: by mail-qk1-x741.google.com with SMTP id q203so19182411qke.1; Tue, 15 Oct 2019 06:40:16 -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=Fcph1pgTeMjmsVZh23+/8jjHWKO/soaKXMJcvGvjZOo=; b=sqwRDpb+KqCxF3GGfnVSTGXKvzKoeaFCazzy9GWwNp6xelTW2BPnTYAwVrhVTuUMAE V+4r51kZEiY8+v8p3ji2oYnphXR0rDvR/9wFI10DPZcMJtECQ+iKluVmxMSwD8FPuSmn VlzKcz/a+QwV8EW7z96zyG3DSWkoaGJ+oovpLmg++jcLvUju/Tc1k849BRY29VcxZvZr x4PveOFMov4+HFaCaxc0dCT5OT5qBcACq9n/lzdJelBCU//FcLUdYNPeHjVwkWJrh/mh k4Yl+GEx8qgBsaBN3KN1Y8GQcF0pYu3FwzjXYY6NlGs4Ce/Qw3AtoZO6WikZ870upVx+ 8oZg== X-Gm-Message-State: APjAAAVOqv4hOJRrhsqyUfrym8cdT/U4MShb2Iz+ZJqdVOyPuSnsh+l9 OKP5HGYSaOptEMXJHiDNPZA= X-Google-Smtp-Source: APXvYqwSgcZrzcqoQCUjyb3OlYsv2l4vtTu0DSLZr8K5OsBbRhWzgDx0lKQiXmfYujhHwYgrw73+9w== X-Received: by 2002:a37:f90e:: with SMTP id l14mr36512937qkj.40.1571146815044; Tue, 15 Oct 2019 06:40:15 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id b22sm9945140qkc.58.2019.10.15.06.40.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 06:40:14 -0700 (PDT) From: Fabio Estevam To: robdclark@gmail.com Subject: [PATCH RESEND] drm/msm/adreno: Do not print error on "qcom, gpu-pwrlevels" absence Date: Tue, 15 Oct 2019 10:40:12 -0300 Message-Id: <20191015134012.15165-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=Fcph1pgTeMjmsVZh23+/8jjHWKO/soaKXMJcvGvjZOo=; b=Y+C32lOWFO+vP2+T16VM9qOkorXycv2L+9Ez64H6Gh/5hIwNmrjZZ69gLpmAYY/ifM wzcWL41oS5l8zwKTwIYGSmzVQfAzY49coxVFwdGwyKfgZbCAdn9ERN/zvcs5XWLAu6Lz ByTe1LheYtEANToKeEylfcd7s1QhwHTHlakPXUrZSNCw9206aGy7TVG9r17fEQmR1hlK CpzPYWPo1N0Qw+Y4rqc13btzqsDtlJUnaWeU2bk1a/h7FGwqNEVmPcY5m8lzB76sBcAQ a/BUw2jw0hlLGH3ruMN8qud/uQi5FN+mUee/QG/sbYiB++twbFucsPoHRoLGyJFXi9ml O+HQ== 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: jonathan@marek.ca, sean@poorly.run, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, cphealy@gmail.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Booting the adreno driver on a imx53 board leads to the following error message: adreno 30000000.gpu: [drm:adreno_gpu_init] *ERROR* Could not find the GPU powerlevels As the "qcom,gpu-pwrlevels" property is optional and never present on i.MX5, turn the message into debug level instead. Signed-off-by: Fabio Estevam --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.c b/drivers/gpu/drm/msm/adreno/adreno_gpu.c index 0783e4b5486a..5d7bdb4c83cc 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.c +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.c @@ -826,7 +826,7 @@ static int adreno_get_legacy_pwrlevels(struct device *dev) node = of_get_compatible_child(dev->of_node, "qcom,gpu-pwrlevels"); if (!node) { - DRM_DEV_ERROR(dev, "Could not find the GPU powerlevels\n"); + DRM_DEV_DEBUG(dev, "Could not find the GPU powerlevels\n"); return -ENXIO; }