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 AFDB3C4332F for ; Wed, 4 Jan 2023 12:33:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF81885465; Wed, 4 Jan 2023 13:32:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ueTBMsdt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 099D085337; Wed, 4 Jan 2023 13:32:57 +0100 (CET) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D3F3485465 for ; Wed, 4 Jan 2023 13:32:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=neil.armstrong@linaro.org Received: by mail-wm1-x32b.google.com with SMTP id k26-20020a05600c1c9a00b003d972646a7dso23074518wms.5 for ; Wed, 04 Jan 2023 04:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qsd9Joc7eUwkOZ4AJBpZWHOmVFjfsgrK79de1YKC/tQ=; b=ueTBMsdtGCkDjJ8wcA7V0zoyD4AD8ond/7gwQ3Ez/WuT7W98ezNwdhKT/UeDvb7exb XF4G0Am4G6w0gR0ARvhGrAEKdx2dm70JwkJ2J4JU10TVn2orlUDbZpEhm2+k0ZCo3vnU KFzqwHnn+Nd6os0Ty9hMST2gl+c7f8XVk7kMW1ocCDHR3GuChil082+lyv8c5jFakOST Ga0MCmIJ0swXih7B1pCqgGxfKPFHk2SAsLvEdQcs9sGHPXm+EAUsWKiDMdT6TBTVpLQq nAlxKDN8FU4Wm5hU0MqAtk3LwqOH+GIqWKX/Xy/1Mno7lFuBsc/zcP2HmzmP3CKIKAU9 OShg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qsd9Joc7eUwkOZ4AJBpZWHOmVFjfsgrK79de1YKC/tQ=; b=VUR1yuCswxKIPYoABDysj/nYcH2YjXCfH9pDMqvK4SVbHKgZnj6ZYCZS+Ju6HcMjNA idmNpGnZt5kJ0ftgyP0hWNMitoa0tV280ImexaHKuLUBTdSevy+Kl/sEq07z//YOshjd DY/S9hUKXYXsw7zgKmEs4kYvfDIyuMhNq8z3GKhCTzQ42bLNzVmgofnt9z5HAAFUXk90 Cg8/KPd3c3054FESYprPNCFtvJwE26ShUGRi8U24J3pnSzu9Xshf8qPEN8rwbddObVBt vswygy3D2YzWwwQrMu49o4wlCozEIYyOYvOos1yDUz9BkXjlFPzM0aIXYeMjmZaNefNi FB8g== X-Gm-Message-State: AFqh2kpkQWSMOwEiqIVey/wE+CMcNRuPvIDAzzxCWqwCmwPzmtEUScH/ OYazhTjvYNpgaIiYIBrO1hU08g== X-Google-Smtp-Source: AMrXdXujTUfMo190uOEXBGF12FepDT/G07SYOq7aQSbo8dOFYDmUOurPfRSbT/s6w6hbqBBfQoUWVQ== X-Received: by 2002:a05:600c:3b91:b0:3d1:e710:98ec with SMTP id n17-20020a05600c3b9100b003d1e71098ecmr42017707wms.21.1672835572404; Wed, 04 Jan 2023 04:32:52 -0800 (PST) Received: from [192.168.27.65] (home.beaume.starnux.net. [82.66.176.246]) by smtp.gmail.com with ESMTPSA id i17-20020a05600c355100b003d9980c5e7asm26931905wmq.21.2023.01.04.04.32.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jan 2023 04:32:51 -0800 (PST) Message-ID: <694949c8-f142-aee3-4741-84330f73f54a@linaro.org> Date: Wed, 4 Jan 2023 13:32:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v4 9/9] video: Enable VIDEO_DAMAGE for drivers that need it To: Alexander Graf , u-boot@lists.denx.de Cc: Matthias Brugger , Heinrich Schuchardt , Anatolij Gustschin , Simon Glass , Da Xue , Ilias Apalodimas , Jagan Teki , Andre Przywara , Philipp Tomsich , Kever Yang , Patrick Delaunay , Patrice Chotard , uboot-stm32@st-md-mailman.stormreply.com, u-boot-amlogic@groups.io References: <20230103215004.22646-1-agraf@csgraf.de> <20230103215004.22646-10-agraf@csgraf.de> Content-Language: fr From: Neil Armstrong In-Reply-To: <20230103215004.22646-10-agraf@csgraf.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Le 03/01/2023 à 22:50, Alexander Graf a écrit : > Some drivers call video_set_flush_dcache() to indicate that they want to > have the dcache flushed for the frame buffer. These drivers benefit from > our new video damage control, because we can reduce the amount of memory > that gets flushed significantly. > > This patch enables video damage control for all device drivers that call > video_set_flush_dcache() to make sure they benefit from it. > > Signed-off-by: Alexander Graf > --- > arch/arm/mach-omap2/omap3/Kconfig | 1 + > arch/arm/mach-sunxi/Kconfig | 1 + > drivers/video/Kconfig | 9 +++++++++ > drivers/video/exynos/Kconfig | 1 + > drivers/video/imx/Kconfig | 1 + > drivers/video/meson/Kconfig | 1 + > drivers/video/rockchip/Kconfig | 1 + > drivers/video/stm32/Kconfig | 1 + > 8 files changed, 16 insertions(+) > > --- a/drivers/video/meson/Kconfig > +++ b/drivers/video/meson/Kconfig > @@ -8,5 +8,6 @@ config VIDEO_MESON > bool "Enable Amlogic Meson video support" > depends on VIDEO > select DISPLAY > + select VIDEO_DAMAGE > help > Enable Amlogic Meson Video Processing Unit video support. For Amlogic: Reviewed-by: Neil Armstrong