Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp920052iob; Wed, 4 May 2022 10:39:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz68BOsBzHskL6ixNpH+efqQY4Y2xlmry9HwYMEVk78uELzreFCRSvioe1YjYQAPCmAJ1Ko X-Received: by 2002:a17:90a:a78c:b0:1b8:b769:62d0 with SMTP id f12-20020a17090aa78c00b001b8b76962d0mr625553pjq.227.1651685957655; Wed, 04 May 2022 10:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651685957; cv=none; d=google.com; s=arc-20160816; b=Qeszr06AmSTSftu0QpPLDRgvivkdcsX4dOJrzvpl6iRCyqDRLvsHVEdA8O/7vPfrcx hVIykn9Lpx5k2a5z07lss6uh/rWdfkd8s9IcDTo1TXvk3PF6+pi+d8GpKVGstUv5bVsN 7rdV/sGVkfz4tAqVmKtw8+1vQHdRq2b6TmW1JQVlDeBMQPRVig3nMMssyAMv9o9gQCdP 6MkO/lyZz5U0vx6juQOAMKECnJeLiGwRoivzYpBmvNuJ8kVagyTgPRd+oES3TqE4fimz PxeKmc9JIRbzrx8G97dCZ/IKMWnbncqa91K1RM1xGzEa/yfmTrNsjwfcrmTmLOLbtC3B 4NtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IEuvCgzzWPTpsdniHwoBY8cU8ErM6G2DZVQ/FvMmT5U=; b=QTLluvziKovNPR2PAUTFlroJjbTOIizwH9i9Ebbd5q8DDScdmyUqylnGHt2bDiyFpk e99hF+SLBK6Pq8npoZOeEKgYCEPKhpKWm43ydLFztaFKh4fHoU6iJrWFU1YQCNvjIXJ/ XtXxo2eSXeJgqTV86zfhlTqCdwvglkLdKGeLG9/CkiUD+VdTgKuYY4jmsuXWXGzy8jdE LqrhOr49qCGUSZnZMydvQkhCVIWD3skfiOPcrwyg7mlDhZ12v4fs1cEx2+EiQeSqwOMD 9zuzp5gcDVM5OjXI3v4dP+BjhbwCOG4uFw+NGpih7efHj44jNT5kwd3yYrohT4UGXhUp 3XtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DXhCgbkJ; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x65-20020a636344000000b003aa91223b5dsi18680233pgb.759.2022.05.04.10.39.02; Wed, 04 May 2022 10:39:17 -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=@intel.com header.s=Intel header.b=DXhCgbkJ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349341AbiEDMZe (ORCPT + 99 others); Wed, 4 May 2022 08:25:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233712AbiEDMZb (ORCPT ); Wed, 4 May 2022 08:25:31 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C9EA2F038; Wed, 4 May 2022 05:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651666915; x=1683202915; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=FX28G2dRJvDF+aaInWBzjFS4ellS21zQ+6eIjm4E/Wk=; b=DXhCgbkJBCJVgpTva6Z/eFLpL9Vryx4tr8Z6N9RCVIIxHBNfa9sXghcj epp0fDMFFy1f/pTxytUNNYLuMOctQG7cAUq5A6sllpRrnMgJsJDzvWxvc n+hvDxTZRYnKRMtk+tg3vlGfaplZjkDMT8HJurW+9ez6G0kUr3akUZ2U7 JVDvXMBGxhymwYm2PKi6t3w0anPGd1d+1XI/9s6zl9HF5krUOK4zXFhei voD6VqQ5TguS+alYw7laPFIqBlNGLDy/uZ780sU92Ei9dAKPZMynmgv1i AZJIH/2l/9SBHbVFe3rd93tdP8zv+UxjILqHbL/zuHt4irutQlSO19V5C g==; X-IronPort-AV: E=McAfee;i="6400,9594,10336"; a="354187329" X-IronPort-AV: E=Sophos;i="5.91,198,1647327600"; d="scan'208";a="354187329" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 05:21:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,198,1647327600"; d="scan'208";a="599510653" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.51]) by orsmga001.jf.intel.com with SMTP; 04 May 2022 05:21:49 -0700 Received: by stinkbox (sSMTP sendmail emulation); Wed, 04 May 2022 15:21:48 +0300 Date: Wed, 4 May 2022 15:21:48 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Douglas Anderson Cc: dri-devel@lists.freedesktop.org, Lyude Paul , Dmitry Baryshkov , Daniel Vetter , Maxime Ripard , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Stephen Boyd , Robert Foss , Laurent Pinchart , Hsin-Yi Wang , Daniel Vetter , David Airlie , Imre Deak , Jani Nikula , Thomas Zimmermann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm: Document that power requirements for DP AUX transfers Message-ID: References: <20220503162033.1.Ia8651894026707e4fa61267da944ff739610d180@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220503162033.1.Ia8651894026707e4fa61267da944ff739610d180@changeid> X-Patchwork-Hint: comment X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 Tue, May 03, 2022 at 04:21:08PM -0700, Douglas Anderson wrote: > When doing DP AUX transfers there are two actors that need to be > powered in order for the DP AUX transfer to work: the DP source and > the DP sync. Commit bacbab58f09d ("drm: Mention the power state > requirement on side-channel operations") added some documentation > saying that the DP source is required to power itself up (if needed) > to do AUX transfers. However, that commit doesn't talk anything about > the DP sink. > > For full fledged DP the sink isn't really a problem. It's expected > that if an external DP monitor isn't plugged in that attempting to do > AUX transfers won't work. It's also expected that if a DP monitor is > plugged in (and thus asserting HPD) that it AUX transfers will work. > > When we're looking at eDP, however, things are less obvious. Let's add > some documentation about expectations. Here's what we'll say: > > 1. We don't expect the DP AUX transfer function to power on an eDP > panel. If an eDP panel is physically connected but powered off then it > makes sense for the transfer to fail. I don't agree with this. I think the panel should just get powred up for AUX transfers. Otherwise you can't trust that eg. the /dev/aux stuff is actually usable. -- Ville Syrj?l? Intel