From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A54BC77B7C for ; Fri, 12 May 2023 11:42:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6C2B88623E; Fri, 12 May 2023 13:42:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="nl95xeni"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8F1CC861F9; Fri, 12 May 2023 13:42:48 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D55EA86241 for ; Fri, 12 May 2023 13:42:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=devarsht@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34CBgfKv054091; Fri, 12 May 2023 06:42:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683891761; bh=ZZJGjkcsXRKzhKCF4Al47p0edp/ovJApfH51VZU5BVo=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=nl95xeniuGNsDBv2W+JcMa7jlcriL6QiCpdyk30cMxiNPa1u0qjO5ZP4W9xqqcH1n q1QKI4+N8ry3vEvdD2LwX4DDRwpS2hMwuTw5ovYL5tEtFbw2EZrxM4NoQJKZpSzGeL PRA1FeOwY+RMjR1mOEuPBFfO+G2XVQhdL9lJK788= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34CBgfTc047141 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 May 2023 06:42:41 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 12 May 2023 06:42:40 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 12 May 2023 06:42:40 -0500 Received: from [172.24.145.199] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34CBgcO5056544; Fri, 12 May 2023 06:42:39 -0500 Message-ID: <83baec46-e3dc-e36a-1939-c3db7316d98f@ti.com> Date: Fri, 12 May 2023 17:12:38 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 6/8] drivers: video: Kconfig: Add config remove video Content-Language: en-US To: Nikhil M Jain , CC: , , , References: <20230511095958.189477-1-n-jain1@ti.com> <20230511095958.189477-7-n-jain1@ti.com> From: Devarsh Thakkar In-Reply-To: <20230511095958.189477-7-n-jain1@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi Nikhil, Thanks for the patch. Subject: Add Kconfig for calling video remove method On 11/05/23 15:29, Nikhil M Jain wrote: > Add VIDEO_REMOVE configs to allow user to control removing of video > driver, in between stages. This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. > > Signed-off-by: Nikhil M Jain > --- > drivers/video/Kconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig > index fcc0e85d2e..c5863f4dd5 100644 > --- a/drivers/video/Kconfig > +++ b/drivers/video/Kconfig > @@ -840,6 +840,12 @@ config IHS_VIDEO_OUT > out On-screen Display (OSD) used on gdsys FPGAs to control dynamic > textual overlays of the display outputs. > > +config VIDEO_REMOVE > + bool "Remove video driver" > + help > + Use this option to specify if you want to remove video driver before > + loading OS. to call remove method of video driver in u-boot proper stage > + > config SPLASH_SCREEN > bool "Show a splash-screen image" > help > @@ -1063,6 +1069,12 @@ config SPL_SYS_WHITE_ON_BLACK > This can be better in low-light situations or to reduce eye strain in > some cases. > > +config SPL_VIDEO_REMOVE > + bool "Remove video driver after SPL stage" > + help > + if this option is enabled video driver will be removed at the end of > + SPL stage, beforeloading the next stage. > + to call remove method of video driver in u-boot SPL stage With suggested changes, Reviewed-by: Devarsh Thakkar Regards Devarsh > if SPL_SPLASH_SCREEN > > config SPL_SPLASH_SCREEN_ALIGN