From patchwork Thu Sep 5 11:16:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11132791 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 00FE518A6 for ; Thu, 5 Sep 2019 11:17:02 +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 DCDDA21883 for ; Thu, 5 Sep 2019 11:17:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCDDA21883 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 7BEE86E071; Thu, 5 Sep 2019 11:17:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D4036E071 for ; Thu, 5 Sep 2019 11:16:59 +0000 (UTC) Received: by mail-qk1-x744.google.com with SMTP id i78so1652146qke.11 for ; Thu, 05 Sep 2019 04:16: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=1RtJ0DInKStLNm7nRRLdODfCYZfUMUe8UxnFTe9vEuw=; b=JAso2SWzs3lAmfgmQNMrKArr05az0ym2d+TDvu8eq9+rOZRjBePDZy2no9sEt0I1B4 5T8HrIXi1w3CBMznL0/FPo8ZC58ax2CR6rlP/5+/U1gA6HN7tR47rEaQxVWR5SNFQXou DhG67dFWjGMwB8oNhfsL9tqbQBPikzch1LOcrUgWo4Ynv8K7opU7s7QaHrlzSOg+hLwX jg96OBWm11v+IPVy5NraO1atgW+3gOKK4/BWijcf+gQ4kzwWp6XcFsPmZ9mgUOB+x6Zn EBhxreGB/tH407rUCN/pk1XeCDOHiD5hHOyBLgB1Bo0xByYXPKEDq0veq0XWcDSjvhwT kxyw== X-Gm-Message-State: APjAAAWFMjBfAb7A8t/zSmXyjTJnRpzEEyovk5nSKtB++oi38cCP/rqG eH6PPzaZqA8zWbjk8MCfpA7GcvzJ X-Google-Smtp-Source: APXvYqxSGWC4onoTEz0DUnOdi4eFadkrQp9G8tRvV5mvqBpu33ZnuFM9J/pomGZcFWv51KhkMx3khg== X-Received: by 2002:a05:620a:234:: with SMTP id u20mr2283723qkm.11.1567682218167; Thu, 05 Sep 2019 04:16:58 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:9a5::1]) by smtp.gmail.com with ESMTPSA id b192sm925416qkg.39.2019.09.05.04.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 04:16:57 -0700 (PDT) From: Fabio Estevam To: robdclark@gmail.com Subject: [PATCH] drm/msm/adreno: Do not print error on "qcom, gpu-pwrlevels" absence Date: Thu, 5 Sep 2019 08:16:48 -0300 Message-Id: <20190905111648.11559-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=1RtJ0DInKStLNm7nRRLdODfCYZfUMUe8UxnFTe9vEuw=; b=pN6dQ/6QyAUzD0+gKffZNDV5d+f3T4tmASOgqkFVxa/4NzL7pR/lj2H0yVMSVI0F3U ldlUtNHsO/ZwVdrqtR2oR7bkHO92pZSAXnL0uyhe96aKhZwM4NuhwjN88n27bLG9RDbJ rXTJqGQKQEwQCehmilQy0wgg6e6kDIDV7zwhwky7oKdhg6I9QnVmPjcq1OPjiN8CBw7i cOyMpxN0vYSOKXp/ckvxRUifajTWtxLQaPuW7EIG42OKR1fkwFddK7BDRo6bo3Osj0Kf fvvo7Mr4IAReOosrb3wRf3PkI883Qp4LCtGkhYeONRKnHrosQjJkwNTdsFzd2Kb9HSkG El8A== 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, dri-devel@lists.freedesktop.org, sean@poorly.run, 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 Reviewed-by: Jordan Crouse --- 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 048c8be426f3..73c79f1614c1 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.c +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.c @@ -825,7 +825,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; }