Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp62194iof; Sun, 5 Jun 2022 21:10:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMBZhCyoujc3wuCjyUs7/qjEjWMAb1e2stin2zueOUyBbY1bZovFKjyF3Gqp7beLzqziGr X-Received: by 2002:a17:902:d34b:b0:163:eae3:c972 with SMTP id l11-20020a170902d34b00b00163eae3c972mr22343998plk.78.1654488619182; Sun, 05 Jun 2022 21:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654488619; cv=none; d=google.com; s=arc-20160816; b=n3ckPKzdh2kVqRkOSo0wb7sqU8c5tepNRHrg/V/TKKKsl45S7oSLzAgmjr0A0hMevC FQQ9x+lBWZU/6ci0rij6M7nXFZWtjgR9RGUg/844RHHkpEBHRbkCwXtxEP4QpkpILzjt 4ZvLxEhkkX6rum4ZxVHoE0hNafI5bV4dXIi9rJsPgL5kWFf+mTFBf+GZ3lWj3SWOV4wT gTOgacWlYigprMuwo295L9i9Bfu+42c5nD3OXXmJVVvI5ELgWILTyIlmsjoXwqeXEwsR cO0Y7Q8zWEZWzIiMC/6b6IkSCHnisMD596xRdS+n3lZCaJrgQIw28/dwcKoIkLtbPsLK eBIQ== 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 :message-id:date:subject:to:from:dkim-signature; bh=esRmuGz2cJsfoYb9TIZ6o0uvypoiD4hREUU9U1UPAV8=; b=ignGiQVe6GH3BQJcYDtAwtRv8F3xbfoH/hXrYom8PvpXpu7CoNYBaXzurU5H87X5VH ly6LKHPFpqbYhWu/JuO+THHFxT/EygqSnGGs1Nl17CDmz9zufO98xOm8Szx1Qq2TSRtX 5Qtli74Cu7GpwsaYwCJ7MBAfjLdcZceYhpnlvaYS1pk4CokAz3s+8S9IOCgNkhUHmBfe VWwQM7iWc3CKNGm/bh2Zv/McCF6o7bbkuIwLPIIUphw41eBbghdABR49sDiTFvDAuPsw TEZk7wKAzMpJUGPZlwttP5xbnrGVTT1SvQdpN5ttB+9V5ByB/UnYQ6AOTgHE/hL2TBxc UNHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=GoIALEZt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lx16-20020a17090b4b1000b001cd46bee4c2si12988234pjb.7.2022.06.05.21.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:10:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=GoIALEZt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AA1E36FD3E; Sun, 5 Jun 2022 20:49:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343753AbiFCQQh (ORCPT + 99 others); Fri, 3 Jun 2022 12:16:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343748AbiFCQQg (ORCPT ); Fri, 3 Jun 2022 12:16:36 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5638C5131B for ; Fri, 3 Jun 2022 09:16:35 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 253APJP3032493; Fri, 3 Jun 2022 18:16:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=esRmuGz2cJsfoYb9TIZ6o0uvypoiD4hREUU9U1UPAV8=; b=GoIALEZtoB86GiWfMEnBKdh1U/gToutTFpxHG4HboEw/4sfuxV/WSYMskEiF8Ms4BcqG 6/kiWAz8JyV4wkB/65g4ub0FBsiU/KlBW5wASpGX2cBPE9CGvxVJ9T9SA4wwkz+M8chR ARShNw9o4n282GxA+5CVRoRZj8GBPwhefJJL4kj10xvZ+rlmeCU+VR3kGe7VLN21iHtj Yis96bLQuga1s72WJv1VSsuV3VVyhHe/5pIukgnh3DyQ/ai6Jm2jQgcbIWaDee9yyL4K wqQxWeOSzS9Yx/lEsQbQ0j4sGPebrPyZdRd5eelsnaRIM4t1sbu3pCv79n+Ap+zFHZ2C zw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3get03rqcx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jun 2022 18:16:26 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 43C9B1000EF; Fri, 3 Jun 2022 15:43:04 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 58695226FAF; Fri, 3 Jun 2022 15:42:56 +0200 (CEST) Received: from localhost (10.75.127.51) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Fri, 3 Jun 2022 15:42:56 +0200 From: Yannick Fertre To: Yannick Fertre , Philippe Cornu , Raphael Gallais-Pou , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre Torgue , , , , Subject: [PATCH] drm/stm: ltdc: remove error message about scaling Date: Fri, 3 Jun 2022 15:42:50 +0200 Message-ID: <20220603134250.592408-1-yannick.fertre@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-03_05,2022-06-03_01,2022-02-23_01 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove error message about scaling & replace it by a debug message to avoid too much error. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/ltdc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index eeefc3260c07..a4098aaff243 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -1215,7 +1215,8 @@ static int ltdc_plane_atomic_check(struct drm_plane *plane, /* Reject scaling */ if (src_w != new_plane_state->crtc_w || src_h != new_plane_state->crtc_h) { - DRM_ERROR("Scaling is not supported"); + DRM_DEBUG_DRIVER("Scaling is not supported"); + return -EINVAL; } -- 2.25.1