From patchwork Fri Jun 3 13:42:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yannick Fertre X-Patchwork-Id: 12869197 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B694C433EF for ; Fri, 3 Jun 2022 16:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+4EaKPW0UOuiGlh5SOj8LQd5Zzi1m+dz5bIxnlJ8YhA=; b=OT2pTy+LfkwBqx IIDfoEDKNkmzQrFtyWeqMTjENxCbAp0DHtDZIBmpdJpxVjwei+br64QpyW94YomML4fHXtKohUXuA OAXCq82RanoUGahdZs3JsiGKBH/2bQ77bh5dPsIRQRvBlMI5xzqig2Jr6NGp9rfZGoAm/EHJsbHWs L/SPWVh8Vpj9CmVoYov+1yxiWiNQA0dGn4qataBniJXI3WJfeyghFXG2VJJZLPKHCBrSQXVLOAD/C LxOkWIhrsohbeEMfeylhNwVFaWfnO/8fGGtNMxEzRGZwJjQvR7Xd0xPAq/5kJswQ3V9IFoA+wPx84 6dvkAaSW3dFaomhKhfGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nx9yV-0088cz-Ga; Fri, 03 Jun 2022 16:16:35 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nx9yS-0088bZ-1T for linux-arm-kernel@lists.infradead.org; Fri, 03 Jun 2022 16:16:33 +0000 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220603_091632_401451_D29AAB4F X-CRM114-Status: GOOD ( 14.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove error message about scaling & replace it by a debug message to avoid too much error. Signed-off-by: Yannick Fertre Acked-by: Raphael Gallais-Pou --- 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; }