Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8300172rwr; Wed, 10 May 2023 22:20:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4tLPbEcfNB3zhy6lxmzJBU+L5bIrYc55hp86SvsE65mVqcu4foxMX2VJFalDOK5XCD3M2h X-Received: by 2002:a17:90a:458e:b0:24e:277a:c031 with SMTP id v14-20020a17090a458e00b0024e277ac031mr20226808pjg.28.1683782426596; Wed, 10 May 2023 22:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683782426; cv=none; d=google.com; s=arc-20160816; b=XdsyP6ts3e0O8VKlOAhK48ldWkTalaGGGG1bCJZrmuJK9+Tb5YYZS6E0xbSgBwlrKZ mRCg6m5QELWPHy6ekH+MH52J+nrxx0RLz185GiACvSLqvEh59mtPm0+IVaWnVGy/cHmt ktemlNlbpPF5dMyYLewa9l7KC3EDCRpknZl8kWyFMgjylim7bPvZERZHLq3D7uE3Nhsu KU4gf1KvVhF6BSWXe0o2LERG7QC0/zkq7vtVEu2Jvr3XGl9KgkWivnhTC2ZsC3moE/p/ dHJTBaviHOWll6KlLgs/sT+PntuXPMR0oUqj0iHjtgK4XrJhmlaSWJSdEtQGhlbOgTXW E2sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=itZRHsCZE2zcyCX1vzhKeuooNDyGZUe67cjcA1Mm4CU=; b=vMFjLMH5f/otBC26GbJgURsCAUF1MfdFLFpC4TEEu3FZJXHvpw+Kh85sZUGqdgHW5h 9pHk8BO3yU5nAstkm/orpnhfoPKBLDiUp0bhK/M05uLCiYG1azJJl3FX/CWdorui6AHF 1LGwUuCa5gG4O4TLTElRK502tpCyeTDMSsXq2hf0jH81Dy9aQPr7HwOF4BP3s1Nf3H5Z egcYlUS1F7PmZZGHCe3yeh9sqhJmOR3kM+NAjPFU6MV+m353+x+LTpq1z8oF20z4u8Hw l3xX5rCoeQY9VELXW6RsL50JOlduR7FLcCZRpfQXhdExM2xSmBBINFe/PDlHq5hCljx5 99NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e5KqmbVo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a636cc1000000b005304a8af2a2si4202523pgc.404.2023.05.10.22.20.14; Wed, 10 May 2023 22:20:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e5KqmbVo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229482AbjEKE5d (ORCPT + 99 others); Thu, 11 May 2023 00:57:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236375AbjEKE5c (ORCPT ); Thu, 11 May 2023 00:57:32 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6182830EB for ; Wed, 10 May 2023 21:57:31 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4f13c577e36so9002496e87.1 for ; Wed, 10 May 2023 21:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683781049; x=1686373049; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=itZRHsCZE2zcyCX1vzhKeuooNDyGZUe67cjcA1Mm4CU=; b=e5KqmbVorVMOJBVVnUMiEUeI+rUfsaL74dacIVfp6mAXTQbID3h3LyvwpZglOIZ5yz DhIN3X6Wd2ReW6YuIQkMERthlsc/V2q5SV19RgnGketJ5D+2hVcTuKKaPGJM6cxLQMUU JNy+VphjHA1x7g3w3/x/iV/yDC6+5urluSynaR9xeCkAPghATCxflHyw5Vebanz9DtRJ +3heLAGU1m8woS+CQjFACnOoMvpR1JuwPcNBnnGjvzqZYFzGPJuckFZIMRCoMswU+ezL Y/D2TtfHC7TILC4JQ8zVbck5ajK7qBoJ+AQqnXQBn1CCgLWYWoroq0MsHrNoA3qp0jYj QJJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683781049; x=1686373049; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=itZRHsCZE2zcyCX1vzhKeuooNDyGZUe67cjcA1Mm4CU=; b=VCMbsrvHK21pDfJ9QgPAgoOwOa+Q0hLpmGHV1rh3bImH1yM8fjk/nUxAWZzcbUq3Vo B4xXJMKnnf8pLRONsKZSK/UCKR7GKkwsKoZz+8n5WLNzvDmPAlqWwu8mNzoNMNkC/GNU dk6fAWB9OyVytlvFEzzF50M4On3l56jDhO7JzR/UjpMnrzaDaWA2gW7t9pfXaC0m2f9d 7YvS6PaesJaOSl38YCdzeqA0l2QO4z4jACzx0Tzloub51CWD4fxxzd603bovDRf4mlPm q91RTeqmJ854y9AMGea++gqxVm4gTv3oN4fCCqL9RTDcBoIrOtNyTMW8z6LnhwJl7Yb3 W6Kw== X-Gm-Message-State: AC+VfDw3ewK862mZsk6TbXK+YP/bZY/wHB1VGWUv8GQTzxstw+9LYRSA 2s2h8AOG3q/ku1kyg3lRMVziRA== X-Received: by 2002:ac2:51bc:0:b0:4f2:6ddf:2011 with SMTP id f28-20020ac251bc000000b004f26ddf2011mr108174lfk.19.1683781049635; Wed, 10 May 2023 21:57:29 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id j8-20020ac253a8000000b004db3e330dcesm962693lfh.178.2023.05.10.21.57.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 May 2023 21:57:29 -0700 (PDT) Message-ID: <72ae1bbd-e4c4-3b15-aa35-c6693f2ab677@linaro.org> Date: Thu, 11 May 2023 07:57:28 +0300 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 v6 8/8] drm/msm/dpu: tear down DSC data path when DSC disabled Content-Language: en-GB To: Kuogee Hsieh , dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, swboyd@chromium.org, dianders@chromium.org, vkoul@kernel.org, daniel@ffwll.ch, airlied@gmail.com, agross@kernel.org, andersson@kernel.org Cc: quic_abhinavk@quicinc.com, quic_jesszhan@quicinc.com, quic_sbillaka@quicinc.com, marijn.suijten@somainline.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1683756453-22050-1-git-send-email-quic_khsieh@quicinc.com> <1683756453-22050-9-git-send-email-quic_khsieh@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <1683756453-22050-9-git-send-email-quic_khsieh@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 11/05/2023 01:07, Kuogee Hsieh wrote: > Unset DSC_ACTIVE bit at dpu_hw_ctl_reset_intf_cfg_v1(), > dpu_encoder_unprep_dsc() and dpu_encoder_dsc_pipe_clr() functions > to tear down DSC data path if DSC data path was setup previous. > > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 44 +++++++++++++++++++++++++++++ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 7 +++++ > 2 files changed, 51 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry