Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1523592rwr; Thu, 20 Apr 2023 17:00:59 -0700 (PDT) X-Google-Smtp-Source: AKy350bWMA1VC8kIoT3+30+5TS8FtyEXN0dD11bYO98Zb0Yuilm6sgtwlEosBohLeCp4o9CFGGlL X-Received: by 2002:a6b:f201:0:b0:763:56ec:2c7f with SMTP id q1-20020a6bf201000000b0076356ec2c7fmr2434259ioh.6.1682035258745; Thu, 20 Apr 2023 17:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682035258; cv=none; d=google.com; s=arc-20160816; b=jcSSpNdE5LqHcjWCYKCa6+U2kVRNBEnG8UhkvOGncsMhN82nCKTebDEpQciDzcOpsY JY0Fp9d8SdW/E25yZr6OMzhnrjDmiVdZbYrYUX84DO88EetX2ywG0ceuoBIID7WYbkac PciMhxv0tea4KWUAZdTOVvveajCFy+zyhgfgCa8a4jXanGa7JQ0EBx7KVkutOqCGwM5l WFjvikCMwcq9EbUPvNgA3NQRivOlwvUxqsRKZj58R8orEPQ2c+6V/RSKUbXPnIy/zygh +8QOr6pGzFvUxHe1INwWuXSh1cKTt1YeGrots69EY8hbt7ksyi+fHyrN1+ejNRmYnsyn b4tw== 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=7AK29Vqlmjj3QqMiRI2bsAKdpcELqF+rg3ndnHxq09Y=; b=wdFhcvxPXrpe3AMqkRcuoU7meHL2H4nlLD7bVjRxhaCu0IJ9ZogioDNVQF/hzjm3Kb 0xFDPIt62ql3aAZ2VAKeKfqC48rVtvjZHMn5BM2Rle5BBAtbEeikT8bIuIW+CeOn+hDJ nRgysE+pEabpgaK95otET/+uIDyxuL/OkrCuDJWr1M8GoqlOXAFzjMy7aonLh7h11+Vc SWsFW/6p6XgFtm1aekfvi1wiFYWAd8WvkjYSkgfePL0sj51+gTXeNOpsPam/t9B5EXEV JYLTQJCEv5lB6xfRL6Hrk4wPXHL9Quu7o4/k8h6AWveEf5eFoDKksxnJyRxQK2gM+M8/ JUWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FYZ/2dMx"; 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 b23-20020a056602331700b007594f3ae471si2379346ioz.129.2023.04.20.17.00.44; Thu, 20 Apr 2023 17:00:58 -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="FYZ/2dMx"; 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 S232643AbjDTX60 (ORCPT + 99 others); Thu, 20 Apr 2023 19:58:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231654AbjDTX6Z (ORCPT ); Thu, 20 Apr 2023 19:58:25 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE39F213F for ; Thu, 20 Apr 2023 16:58:23 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4edb26f762dso1020037e87.3 for ; Thu, 20 Apr 2023 16:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682035102; x=1684627102; 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=7AK29Vqlmjj3QqMiRI2bsAKdpcELqF+rg3ndnHxq09Y=; b=FYZ/2dMxGYlduhZjTzDa90fPuGbrAZHU7W7leXYuArgvcLMh9r57wVo3PxIuUDB5/N MCLuTbcmoEazsNJMhWYIvXNw48VjO0EcWk2pqfyAVjBC92uMeCa38Wu6AcRDMhgXmi7W IXqnuyO5FH9CXCADxDPdWnttgNRg34/AFhfRrKHXqBLaF0qabFsuoJ5sP/JUXfxgaQkj LjTCANlCnLzeo2eLVcCBkB2rhvHfQcY+B98tej7wqOYZ3g2hYWrNk+63O132akiR7i9O H9uxNQrXlSBhhErYA2TzfUBA6VXbyrtU6QE/5ja+BKfZFlrH4Ikh19BBHSThA/uOsud1 RiIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682035102; x=1684627102; 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=7AK29Vqlmjj3QqMiRI2bsAKdpcELqF+rg3ndnHxq09Y=; b=dxPT1Gz9ELzDbVDhar5hpVLQZjDxEBmOaKFNxVk5dVi8hPvvWu6KjCYqQmS+yPc3RK KHqbWCLz1GAeh2tPujO1U2NGctf9duvpZ9CD5rFw+r9kxNkKWvWv4XUu9l/7IyEePMXY 5ZI8c1pE5QWfwl+IPqRcCWdygmUtPNx6QT56bjVbEoJoBzHg2GU49ezzrWQxeJOCS4vv svDSzceDivk4oO70elQ60/8HjLSWlk967Czr+a1Natmhao79BvDn84gEdmBVAs2+NtDy 2EhJ0f5oDUHBVMwG84Au/+Vc4/q1Un/RONgDZEe0dZPJrrwPk0THtSGX7sQgO2rjFsE8 xE5g== X-Gm-Message-State: AAQBX9cVhJ+75IXO+R+kATHUZGUgMdlHNUrIdmWUYSz/hacNmWwH4wdu NZBHZZyAe1mcLdcaDNZv5FCfPw== X-Received: by 2002:ac2:48a8:0:b0:4dc:84dd:eb91 with SMTP id u8-20020ac248a8000000b004dc84ddeb91mr796914lfg.22.1682035102091; Thu, 20 Apr 2023 16:58:22 -0700 (PDT) Received: from ?IPV6:2001:14ba:a085:4d00::8a5? (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id t1-20020ac25481000000b004e92c0ed7a0sm368682lfk.100.2023.04.20.16.58.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Apr 2023 16:58:21 -0700 (PDT) Message-ID: Date: Fri, 21 Apr 2023 02:58:21 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v1 2/5] drm/msm/dpu: separate DSC flush update out of interface 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_sbillaka@quicinc.com, marijn.suijten@somainline.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1682033114-28483-1-git-send-email-quic_khsieh@quicinc.com> <1682033114-28483-3-git-send-email-quic_khsieh@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <1682033114-28483-3-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=-3.8 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 21/04/2023 02:25, Kuogee Hsieh wrote: > Current DSC flush update is piggyback inside dpu_hw_ctl_intf_cfg_v1(). > This patch separate DSC flush away from dpu_hw_ctl_intf_cfg_v1() by > adding dpu_hw_ctl_update_pending_flush_dsc_v1() to handle both per > DSC engine and DSC flush bits at same time to make it consistent with > the location of flush programming of other dpu sub blocks. > > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 14 ++++++++++++-- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 22 ++++++++++++++++------ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h | 10 ++++++++++ > 3 files changed, 38 insertions(+), 8 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry