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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA251C04FF3 for ; Fri, 21 May 2021 23:26:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8765161026 for ; Fri, 21 May 2021 23:26:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8765161026 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 400376E8B5; Fri, 21 May 2021 23:26:32 +0000 (UTC) Received: from m43-7.mailgun.net (m43-7.mailgun.net [69.72.43.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B8FC6E8B5 for ; Fri, 21 May 2021 23:26:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1621639591; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=MQjZZTznmIzLxACeImlgWQKlmNBvEGN7+1JvqdoN7cc=; b=vVggZEJWoWYL1cL+P4jy6S9fmg0LHW8ZwvdUsB4eYr/wQXOVspxNJxlOORubdVH28Qu2KFsh DsNHVfjv73vJvGEB+U2OdPBbF7L3l6aNZF/2hjnRcBq9q1UKjuaV1nE9tjS/zSKT0w2AlVfU aBDfKXLQuptzSUbT9VeuXdUv30Q= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyJkOTU5ZSIsICJkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 60a84194c229adfeffffa7b8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 21 May 2021 23:26:12 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E3AE4C43460; Fri, 21 May 2021 23:26:11 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: khsieh) by smtp.codeaurora.org (Postfix) with ESMTPSA id 25451C4338A; Fri, 21 May 2021 23:26:11 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 May 2021 16:26:11 -0700 From: khsieh@codeaurora.org To: Stephen Boyd Subject: Re: [PATCH 0/3] drm/msm/dp: Simplify aux code In-Reply-To: References: <20210507212505.1224111-1-swboyd@chromium.org> Message-ID: X-Sender: khsieh@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Paul , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Abhinav Kumar , Dmitry Baryshkov , aravindh@codeaurora.org, freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2021-05-21 14:57, Stephen Boyd wrote: > Quoting Stephen Boyd (2021-05-07 14:25:02) >> Here's a few patches that simplify the aux handling code and bubble up >> timeouts and nacks to the upper DRM layers. The goal is to get DRM to >> know that the other side isn't there or that there's been a timeout, >> instead of saying that everything is fine and putting some error >> message >> into the logs. >> >> Cc: Dmitry Baryshkov >> Cc: Abhinav Kumar >> Cc: Kuogee Hsieh >> Cc: aravindh@codeaurora.org >> Cc: Sean Paul >> > > Kuogee, have you had a change to review this series? > Sorry missed this one. Will review it now. >> Stephen Boyd (3): >> drm/msm/dp: Simplify aux irq handling code >> drm/msm/dp: Shrink locking area of dp_aux_transfer() >> drm/msm/dp: Handle aux timeouts, nacks, defers >> >> drivers/gpu/drm/msm/dp/dp_aux.c | 181 >> ++++++++++++---------------- >> drivers/gpu/drm/msm/dp/dp_aux.h | 8 -- >> drivers/gpu/drm/msm/dp/dp_catalog.c | 2 +- >> drivers/gpu/drm/msm/dp/dp_catalog.h | 2 +- >> 4 files changed, 80 insertions(+), 113 deletions(-) >> >> >> base-commit: 51595e3b4943b0079638b2657f603cf5c8ea3a66 >> -- >> https://chromeos.dev >>