Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp157368rwl; Thu, 23 Mar 2023 14:08:07 -0700 (PDT) X-Google-Smtp-Source: AKy350Z+9R5ikczpJPY1AB7z4xL/Af0NDrOjUqiBnX1McROOCyXbyFJj8Yf9pn2Gt4RD3I3gelHO X-Received: by 2002:a17:903:228b:b0:1a1:e112:4607 with SMTP id b11-20020a170903228b00b001a1e1124607mr248945plh.50.1679605686993; Thu, 23 Mar 2023 14:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679605686; cv=none; d=google.com; s=arc-20160816; b=k0VpC9tSJzWnSyBdv8PFLXALc0V6W42AYq0ws+qFjDO2pu4NpHMYGtUrzDkOBKNkmJ srEfqU2n91uku941Qr1/O/RXp1WX/1gqxnaDSKKCRDlNpexgVBeP2tV2GpPTI+RBlHmt 9GOjWA0/agzNkB2cdpotNhLvOZQAcEDPxevxy2J7TqxQRfjH335stamAHYVWPrWyV4pk LcUHb82E6WxnfyR01YP5tM2bLKoqd09AzzS6EFmbpg4jKn9NYYSfZc+cT8f3yYIFuvTC KGRa0zMYxauOw4lv3WwglHspsYo7Cbdb3QpNGGfcqSAwi7J6qI0AWhQGjjyootlzCRY6 zKug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=siTlddsD9BwLsdvAOrWrUYDt/REtWPoX/LdY9MShx4A=; b=tx1vhiS8cDcZgGPlVnEnzEs/EULMmy6eEvVb7T0bZ0Y0GiT0hIp9jlBCjo8zTAr4BE Xaqc8kw/5JCa/M7Np5LnJxsERMAqzAfIjXAUVMqNCuPM0d8ZbIbi/usNumaM6FwALUa1 lD5+MnPwgI9SR9fVQ58kiUNOp0zBbR37wbKuqUrxDuRCzGPlKubVrV21m5sfoI7AFMBF so1wQImKX/6RipBDukoJq41KmSv4j+ferV/hXdeIdYRLyNHI/yczgbXd45lEp+AR4eub Dte8sCwV1FSUiwVVDoxsSvBUiIPvTcflPgHWvpV/hREVGTMD1AheQpOeSvhvRTLZ1xxC Duuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iHGPN+ik; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be7-20020a656e47000000b004faf33e2755si20547264pgb.349.2023.03.23.14.07.54; Thu, 23 Mar 2023 14:08:06 -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=@chromium.org header.s=google header.b=iHGPN+ik; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231245AbjCWU7k (ORCPT + 99 others); Thu, 23 Mar 2023 16:59:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231530AbjCWU7Z (ORCPT ); Thu, 23 Mar 2023 16:59:25 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB21823669 for ; Thu, 23 Mar 2023 13:58:59 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-5456249756bso120987907b3.5 for ; Thu, 23 Mar 2023 13:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679605138; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=siTlddsD9BwLsdvAOrWrUYDt/REtWPoX/LdY9MShx4A=; b=iHGPN+ikd54NOrXt+zRiYtHPOxzn3WEKtp4WBumXwJ/SJevgu7Ake2/NIqvA9mlTVp tMQGPi21Wq7PvzQMlCS3QLdAj53DCez7pZlBTnozDWnhvi0mGxkkh8+d/Paawqjh2V7r w4joz/X/Kt7AnRAivbWJu5QIy0wVrPk92jEVw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679605138; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=siTlddsD9BwLsdvAOrWrUYDt/REtWPoX/LdY9MShx4A=; b=YE5gV99k7YX6DQz9rxuTS23x38fRqr2aFM3VpE/jp3Sbx+ZxPDDbVwLJNTTvOy6FM5 2c1+mohY5+mtOELFkyA8gV19Y3LeEU3Wg6lEY9PPxeQzAZIDHKCJ2bXSBFWfLygW8uc6 gTg39kdzPHTXbySOH+HAh9IB4fLsbaTdfa/zfiZ6HhTEdogNUdp/CswmL/CBWIjGAYtn NfWo4aPD2BzdCUBOK98AiffiormO10W1XGq3ZqK29dkcxNSsOkvMRe7o6S+UupaBG1Ch 4e5CHaVxUhAX/nY1vapUPrOmQXZtavSBy5h4z/viFdgdRkoyMQLs6H1oP2lpBUjADYJ8 QtaQ== X-Gm-Message-State: AAQBX9cxhZvjLjqc1iGkWc72wHGApUcZlFWe9DmCGDj4Wezj3zXzdAwq +eQgw5FFCRnnmbOuLXAqj5Y0bIyDf9kokkbe8zM= X-Received: by 2002:a81:8144:0:b0:545:4df7:e6d8 with SMTP id r65-20020a818144000000b005454df7e6d8mr4692389ywf.37.1679605138317; Thu, 23 Mar 2023 13:58:58 -0700 (PDT) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com. [209.85.219.171]) by smtp.gmail.com with ESMTPSA id m123-20020a0dca81000000b00545a08184d1sm39539ywd.97.2023.03.23.13.58.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Mar 2023 13:58:57 -0700 (PDT) Received: by mail-yb1-f171.google.com with SMTP id k17so15689483ybm.11 for ; Thu, 23 Mar 2023 13:58:57 -0700 (PDT) X-Received: by 2002:a05:6902:70d:b0:b45:5cbe:48b3 with SMTP id k13-20020a056902070d00b00b455cbe48b3mr18602ybt.0.1679605137060; Thu, 23 Mar 2023 13:58:57 -0700 (PDT) MIME-Version: 1.0 References: <20230315035508.2874915-1-treapking@chromium.org> <20230315035508.2874915-2-treapking@chromium.org> In-Reply-To: <20230315035508.2874915-2-treapking@chromium.org> From: Doug Anderson Date: Thu, 23 Mar 2023 13:58:46 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] drm/bridge: ps8640: Add a cache for EDID To: Pin-yen Lin Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Enric Balletbo i Serra Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Hi, On Tue, Mar 14, 2023 at 8:55=E2=80=AFPM Pin-yen Lin wrote: > > When there are multiple EDID reads, the bridge will be repeatedly > enabled and disabled. Add a cache for EDID to speed this up. > > Signed-off-by: Pin-yen Lin > Reviewed-by: Robert Foss > Reviewed-by: Douglas Anderson > --- > > Changes in v2: > - Remove the NULL assignment in ps8640_remove > > drivers/gpu/drm/bridge/parade-ps8640.c | 60 +++++++++++++++----------- > 1 file changed, 36 insertions(+), 24 deletions(-) Landed in drm-misc-next: 6a17b4d1b52f drm/bridge: ps8640: Add a cache for EDID