Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp79973rwr; Wed, 19 Apr 2023 18:15:46 -0700 (PDT) X-Google-Smtp-Source: AKy350ZwgZN5r4W+59iHc4ht6cxdlEvsThCqOmf8sO6XZG1EZbzcw7Y9NH6OyDZ5fXFlFXJzbo3k X-Received: by 2002:a05:6a20:7f9d:b0:ee:788b:45e0 with SMTP id d29-20020a056a207f9d00b000ee788b45e0mr791568pzj.40.1681953345859; Wed, 19 Apr 2023 18:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681953345; cv=none; d=google.com; s=arc-20160816; b=PL8LnLRc1FQxUo0KnZ7M2JSmosqy+Rn/uaFLPK4HgJUYyuv2HiWLeEFl988CqQivUV xQ6XpQICe1JY9DAnsdB3thnc4EROHDTiM7heQbxh1Jh87Z0IKynLtMiOg7heC8glcVfx x0swaRr3ijn2YllS+Wjd+UW1GlowME5uLTn6oTL6b/AmbSuToH8b0Cg0eNoSxNYiHAfV g0eB+JAQM31rMVmGtMQ6+B5VaMzVFsnNPIo0AhQ5Va2KE84tqAMkjpEtGhJH4KDwN28s mtY5eVZUGL0ym2zbwmI/Ku84EJtZgHQ8KoJ21PmYoM4ITCd17EovOoo3QFOv6i04tOaQ J8Zw== 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=Bs3T4CoT9dcZGpM4NSaYLbZwM4ao6CkSlWOs854SEP0=; b=a8bpLiEPtXvGK5Nwl/bt8RLfNmKihzFqcNEab8r2JYE/bLBUuwf5I3zMt1eSsCy6ti n8KDNTycb6TYzK2PuINEL9WId/aPoDZ6sJxTykII5mQeohI0E/vbogSn7oEMGYSxWQh5 m8KItH2Ct6CienAam8ZrzsDsIQcyU4zw//2GBfJDfe7xmYS2vAsc4zWZvzE/I4pa7t7K PlfsJzBpcwM4+JNZNmdAcO+MptHCFT/EAVgn2DtmGmsRBOQWATtlylw2khBJhOaZ3l0o s2aiF5ZdsatsEEVRZQXvC0cbs4BFkGbQmpmykImrQ5WS/4mgbY7tpOPgD8m6f2QwnCJE IwAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jvziNZEK; 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 7-20020a630207000000b005139713f0ffsi48504pgc.805.2023.04.19.18.15.31; Wed, 19 Apr 2023 18:15:45 -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=jvziNZEK; 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 S230195AbjDTBOk (ORCPT + 99 others); Wed, 19 Apr 2023 21:14:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbjDTBOj (ORCPT ); Wed, 19 Apr 2023 21:14:39 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA5B42716 for ; Wed, 19 Apr 2023 18:14:37 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id a10so1034187ljr.5 for ; Wed, 19 Apr 2023 18:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681953275; x=1684545275; 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=Bs3T4CoT9dcZGpM4NSaYLbZwM4ao6CkSlWOs854SEP0=; b=jvziNZEKWKFcemyK4qjPHfbBwlZp5vj2rQqNeL6rkXzcvr/wW3qsNVZ1+jrMtDGv6G TNmcpWu6v2MR4aHHiakWDo9fVyJSR5zKuaDOjmhhB6M9D8JklnYoO1MU1XazxKlA8Uz/ cZi32nzJJX2EUMQu2gMjkYr0T2NVG2t7gsJbVUl9G6jnxpPPS6iMkewVcYjr5tlgdl7N 9rorAKtaszGsOV4s0X7hvZI7sGkrGZGfQ1Sj+65gmY6stvxpuMaUxd2K8ZYxJv3KBFVU NCQDtX8tKtH3kUCwp5/b6o4LxcvigSyuDPLBtm4hszdEu/LXkivSs6Fj7kt5QdPNQoYK DnIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681953275; x=1684545275; 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=Bs3T4CoT9dcZGpM4NSaYLbZwM4ao6CkSlWOs854SEP0=; b=asmLBqaYIagS3mMDJd4ANOD0T1eBxBhbQM7iBDi53J0YdhhbrpPcij7e0iCkGWTJFQ fJuMcPxjBtwUfWKHdOaiLdTx7V8SlK9hCNe9nOKPzVot/Uf4PaXWoJaEh0KpzTWCi/RH jCzU0N/ov1PbryFaUmSATiFEtTzNDVv13QLcrFtppx2be46yMhKX+ObikYlmg9Xmnc2w Yr6km8/gGHFmWeM77bGiMVcZzYm4Kna58HqzARZj2X0DoqtY3ULkHhN6Fdre84t5swjU b0I5l4OJBvjVOfrTGTUA6iV38klj51h6CtRM2sjq1dLXUDbanqPUyQMBJFsnBmGsrddF WxAw== X-Gm-Message-State: AAQBX9cwbLAaelhxq2rQRKo+9UKXFKevSKtMbN5afleV5IkSMObhjeQR zFk09ZadTnN7x8iCo1Dx67ISGw== X-Received: by 2002:a2e:9159:0:b0:2a8:d146:12cd with SMTP id q25-20020a2e9159000000b002a8d14612cdmr2726556ljg.17.1681953275668; Wed, 19 Apr 2023 18:14:35 -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 g24-20020a2e9cd8000000b002a8bce7ce0dsm27182ljj.107.2023.04.19.18.14.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Apr 2023 18:14:35 -0700 (PDT) Message-ID: Date: Thu, 20 Apr 2023 04:14:34 +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 v2 16/17] drm/msm/dpu: Implement tearcheck support on INTF block Content-Language: en-GB To: Marijn Suijten , Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Adam Skladowski , Loic Poulain , Bjorn Andersson , Kuogee Hsieh , Robert Foss , Vinod Koul , Rajesh Yadav , Jeykumar Sankaran , Neil Armstrong , Chandan Uddaraju Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jordan Crouse , Archit Taneja , Sravanthi Kollukuduru References: <20230411-dpu-intf-te-v2-0-ef76c877eb97@somainline.org> <20230411-dpu-intf-te-v2-16-ef76c877eb97@somainline.org> From: Dmitry Baryshkov In-Reply-To: <20230411-dpu-intf-te-v2-16-ef76c877eb97@somainline.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 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=ham 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 17/04/2023 23:21, Marijn Suijten wrote: > Since DPU 5.0.0 the TEARCHECK registers and interrupts moved out of the > PINGPONG block and into the INTF. Implement the necessary callbacks in > the INTF block, and use these callbacks together with the INTF_TEAR > interrupts. > > Signed-off-by: Marijn Suijten > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 11 ++ > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 10 +- > .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 160 +++++++++------ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 214 +++++++++++++++++++++ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h | 25 +++ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 2 + > drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 14 ++ > 7 files changed, 378 insertions(+), 58 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry