From patchwork Tue Nov 12 21:59:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11240299 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 98959159A for ; Tue, 12 Nov 2019 21:59:31 +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 74B0B20818 for ; Tue, 12 Nov 2019 21:59:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74B0B20818 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 A92796EBFC; Tue, 12 Nov 2019 21:59:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by gabe.freedesktop.org (Postfix) with ESMTPS id 157DC6EBFC for ; Tue, 12 Nov 2019 21:59:28 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id p20so198903qtq.5 for ; Tue, 12 Nov 2019 13:59:28 -0800 (PST) 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=Mj7z1TQhNjBYbEX5L/fcIQ7eLPgC8FZ8yInKWJKTP3I=; b=D+h+eFKPwWDZ0ea0QfgCL1JLThXFiGbcbuFGIgnD7aTaeWl4gznCeQh4MBJ+fViKW5 4L+U0JwZ5Y0ftXAO9jJi7L5ZdiIboBA9MmjdqGEahGaivweIwFid4lOtdM3lXgk0+8X9 HSbyw1dkphYqK44iH21iBThgo8/gb807A+hTVOpaN+GmfPpc9dTm2GYqRDVXM+Pdq5gV vwhg0wcXZhkPejIk8ZP9FEUiSz+qkX+c2IAhFi0BKnHwPofRCD9ciW7BNvKCqwbkeZLi IfovhEOMfll7cu/MbXKFmCIGAXzmMWc+Bsgz2BZzOu9EiOawTb707WBrR9ZWGuoWK3Sy p0Pg== X-Gm-Message-State: APjAAAWm41uiso+aTv8pLy9Pl08PeYFf2jdiJ3hCVM+vVcaO+SSaVdvk M31EUdUBEOQsctucZly5Mbg= X-Google-Smtp-Source: APXvYqysXGs7zy1ZAEd0KgCkcwK02XLfKb18yLZ28AQfot5qJkEWu1KB5b4Wc3DHVc0flIDR5jg0NA== X-Received: by 2002:ac8:1857:: with SMTP id n23mr33493467qtk.247.1573595967041; Tue, 12 Nov 2019 13:59:27 -0800 (PST) Received: from fabio-Latitude-E5450.am.freescale.net ([2804:14c:482:99::3]) by smtp.gmail.com with ESMTPSA id h12sm9882343qkh.123.2019.11.12.13.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 13:59:26 -0800 (PST) From: Fabio Estevam To: robdclark@gmail.com Subject: [PATCH RESEND] drm/msm/adreno: Do not print error on "qcom, gpu-pwrlevels" absence Date: Tue, 12 Nov 2019 18:59:16 -0300 Message-Id: <20191112215916.29508-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=Mj7z1TQhNjBYbEX5L/fcIQ7eLPgC8FZ8yInKWJKTP3I=; b=FecSCgYScZQloBWULMjmJ45Nd5dpmd/9PStiystGql+JelkHE+vY+KftCtMfbZ76Dv 0gKDvsGwTyKMqKiyi6PgoG75T4w9qQyxe4whwKq13I71plIzmNooQzuUur0+rA0WzX6V ZUjTSCT4lzpNL9wviCsclFYIe2RKgtejR9X73SzgaG+LWlWdf7RF9dccxjYZfGblPYwX 9AyXBBdaS3WEWfu+l6kwi6ACTGDwZsQnx7woa0wShtjqC+w4t6V4lBA5gX57A1jiAg3j KPJoyGLXtyPlTWqYgU8QUb1zHeqkF3VR4NhNEVl4glj9ROw2+u+Lwm5P8Sd79T9rGAXB FHpA== 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, jeffrey.l.hugo@gmail.com, 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: Jeffrey Hugo 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 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; }