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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FC4FC6379F for ; Tue, 7 Feb 2023 15:24:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232037AbjBGPYn (ORCPT ); Tue, 7 Feb 2023 10:24:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232034AbjBGPYf (ORCPT ); Tue, 7 Feb 2023 10:24:35 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66641FF38 for ; Tue, 7 Feb 2023 07:24:33 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id sa10so13584391ejc.9 for ; Tue, 07 Feb 2023 07:24:33 -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:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=E4mcdO4GpGeKLuTlOjNBh4mETE9qrYBfrhlJsygbBeU=; b=V2/UFreSqT0sDfRJ0PD1H7glVVJRqSxyNrhyxCRKRjuDV242Y4gANFkwYovSMEU2OM 1hSbjMymRW/U3ISn0k7YW6r5izjyyMrNy2hCxvk0l39NG9ODdI+u4R1pwQPXwH9c1GHQ ue8yemYY0skZn1uv00er7Wct6TODInhLqlf60puVsfU2xzJ1tfNu8IhC6ZfBX+aRk8FB KHhrQJoUkGNiRDtqDsYqDSuUx5ftwJImPnZciiRL/+s6YSuAR9N8kLGHMoSvhVKYvRVN w+bDr1kbdD+wsZc7jvyS6EB2aRxwztDrvY+uimv+1LyPRPtTM4oZ4sLqlAzEvdnJQXKr +Dwg== 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: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=E4mcdO4GpGeKLuTlOjNBh4mETE9qrYBfrhlJsygbBeU=; b=Okev7XQQDW4dglTgjkghAIO6JFr7JSqsS2c30vaMLEtUy3MIj4FBGya+ySMwwwRsCZ 6x7tEA5x74xqTg5/xIfhVsvpvV1S4jst3AfoGiTYmrsCsL6W/b88RCnXQIOLMj+YtRh5 Bs/wZQNA28NU5r+HvvdMHxg7sazfkJxmy49tsEz5N/Dtr9K2xMmpU3vwYpmXrIDLBba7 iakZdmXMFa7yJJtVcAzl6mx52tQedjec20KjNngk5/3/Sk/CgQxUvv5q6A7bOXgiLvx1 2xVAfjEFqGDCYyN2r27rXiCMH2T0QkBH+pPDFtScOTrIfCi0t6vPkFsjxnIiLY1XRkKA YjkQ== X-Gm-Message-State: AO0yUKWlMpHmTBJ1w9aLWk1j7NfE25x2QtLJ9k5S0utPhotjffM7YsR3 qfRvlwinase6S7IP4yvdCAdbcA== X-Google-Smtp-Source: AK7set9STfsFCp07aOqg2rbvX4m0E1kxYNITo05IiStJ8XTFgNLQCUyi7uqyBZFTCn8DfPCbPNbHJg== X-Received: by 2002:a17:906:adb:b0:889:f989:d8ee with SMTP id z27-20020a1709060adb00b00889f989d8eemr4137878ejf.22.1675783472019; Tue, 07 Feb 2023 07:24:32 -0800 (PST) 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 12-20020a170906318c00b0088b93bfa765sm6948232ejy.138.2023.02.07.07.24.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Feb 2023 07:24:31 -0800 (PST) Message-ID: Date: Tue, 7 Feb 2023 17:24:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v12 09/14] drm/msm/dp: disable self_refresh_aware after entering psr Content-Language: en-GB To: Vinod Polimera , "Vinod Polimera (QUIC)" , "dri-devel@lists.freedesktop.org" , "linux-arm-msm@vger.kernel.org" , "freedreno@lists.freedesktop.org" , "devicetree@vger.kernel.org" Cc: "Sankeerth Billakanti (QUIC)" , "linux-kernel@vger.kernel.org" , "robdclark@gmail.com" , "dianders@chromium.org" , "swboyd@chromium.org" , "Kalyan Thota (QUIC)" , "Kuogee Hsieh (QUIC)" , "Vishnuvardhan Prodduturi (QUIC)" , "Bjorn Andersson (QUIC)" , "Abhinav Kumar (QUIC)" References: <1675091494-13988-1-git-send-email-quic_vpolimer@quicinc.com> <1675091494-13988-10-git-send-email-quic_vpolimer@quicinc.com> <670d0a87-a932-6f33-b363-5499dc7ff29f@linaro.org> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2023 16:28, Vinod Polimera wrote: > > >> -----Original Message----- >> From: Dmitry Baryshkov >> Sent: Tuesday, January 31, 2023 6:19 PM >> To: Vinod Polimera (QUIC) ; dri- >> devel@lists.freedesktop.org; linux-arm-msm@vger.kernel.org; >> freedreno@lists.freedesktop.org; devicetree@vger.kernel.org >> Cc: Sankeerth Billakanti (QUIC) ; linux- >> kernel@vger.kernel.org; robdclark@gmail.com; dianders@chromium.org; >> swboyd@chromium.org; Kalyan Thota (QUIC) ; >> Kuogee Hsieh (QUIC) ; Vishnuvardhan >> Prodduturi (QUIC) ; Bjorn Andersson (QUIC) >> ; Abhinav Kumar (QUIC) >> >> Subject: Re: [PATCH v12 09/14] drm/msm/dp: disable self_refresh_aware >> after entering psr Can we please get rid of this somehow? >> >> On 30/01/2023 17:11, Vinod Polimera wrote: >>> From: Sankeerth Billakanti >>> >>> Updated frames get queued if self_refresh_aware is set when the >>> sink is in psr. To support bridge enable and avoid queuing of update >>> frames, reset the self_refresh_aware state after entering psr. >>> >>> Signed-off-by: Sankeerth Billakanti >>> Signed-off-by: Vinod Polimera >>> --- >>> drivers/gpu/drm/msm/dp/dp_drm.c | 25 ++++++++++++++++++++++++- >>> 1 file changed, 24 insertions(+), 1 deletion(-) >> >> As I stated in v11's discussion, I do not like the way this change plays >> with the self_refresh_aware. Please find another way to work around the >> timing issue (let's probably continue the discussion back in v11). >> > Currently we are not able to reproduce the issue with KASAN enabled and minimum cpu frequency builds. > We can revisit this patch if it is reproduced in future. Meanwhile I think on handling it in a different way. > Can we not consider this patch for current merge? Ack. -- With best wishes Dmitry