Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp833294rwb; Tue, 4 Oct 2022 11:14:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Liildz4kZRZJq1lprNjE2W8/AE/rLLoHS5z2pNKDWf4qHdaClrbGmyZa69JSJjkQMBLvy X-Received: by 2002:a17:906:cc4a:b0:78a:bf7d:eed5 with SMTP id mm10-20020a170906cc4a00b0078abf7deed5mr9773729ejb.352.1664907295632; Tue, 04 Oct 2022 11:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664907295; cv=none; d=google.com; s=arc-20160816; b=LfWOWGTAqXkBrf82qwKFITB1IxF11a2awmjvh2ZSw6/kMh9iIbqipX5KvvWqF27oKg KlEecqLvYnwDjKUzyMLj78bCA/jQpegqQKYW9Jer4XJs+1U/vrUjr3DjoYQvVtqKDHvm K0xMZnfO5ktXWphqIlHRPBe7MA2WQFcI0JRDjrzGzKjvJ+3MiK461JClxsw83d+yTrfe Z+gbLjYAi5epOQJ739mJvuavrQ4gbfuObRNWV+lnEsr+1+nF3CcCTmCT2Hc1jxJxRgtq uj4ryApGybYYjy7U8AbcA2ICJZOxx5Bsb3VGAVsW6CAtei3ytqSS+4BIdk82LG57MP/O N77Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=9NVA64YoFBHquYcwHCHmMZRJMqSDpQ3c22mpxVZ2DvA=; b=s6JFs5AB0YaQp9txU1F6dFPfq7M0WqZnaS0nzY8O+9KUOeyDB1vA/tGWpigTH/Ghjl apKf5pLFpqyImuHrKMw0PrjOSlWI7GNNgB96EJUMwhX87aRik22UaOVZVWEE7OahzcBa s5sAnt8bTG4rHnzCIxfHgvhEVol0wtJE5yREOoafegqiYWshg9qK/CoVjiGRX/d5jokk p1/ZCEwf/TsUnh7dK2qNYNUC3w0gvm8+Yz+C6J9PXaG/N1/SnCV/fvIpuijHc7s98kW/ XtRQC07eCUyouANAK4YIJNitTs3rk7nDj+UiDfDkihgTT3OcP8UlmugpBHW2ga4Yfbv8 AUTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FpnFHVc7; 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 hz5-20020a1709072ce500b007815ca78c38si10630721ejc.235.2022.10.04.11.14.27; Tue, 04 Oct 2022 11:14:55 -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=FpnFHVc7; 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 S229890AbiJDRjL (ORCPT + 99 others); Tue, 4 Oct 2022 13:39:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbiJDRid (ORCPT ); Tue, 4 Oct 2022 13:38:33 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FDB89FE6 for ; Tue, 4 Oct 2022 10:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664905112; x=1696441112; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=q6EpAzeaREMD6X3gyCf0BKwJue0LMO9WqhXpb/0sZyA=; b=FpnFHVc7o4kirI/MeYWBLIoSqCmkkh+HD0ddzYx8DTfPOKzHIvhLtR0y ZxwPwIhG1kIovvNeeZyJWG5UFDNhVMZsNkXoGcLUDwa7/dyttK3w83PzJ rWsVoFVep+tZIUv4zVWdu5Ypw2qyP0snycGuLQyc1pMcQg+nZdFxpCLmP C6Y+l7VEmxJx1rgsEicVgvuwEZ/BN1o9Z3DSYkQ0eV6jePcU9VqBFpG8R Gqwk2FIFWbZN+qw2CKqJqqs9mO6Kgz5pTa+ma3rGGE1/FGinRbkrDyrYg 2H7vZbNzao//qsIqMRuRj5ZriPswv9gF80BpX8iiw52pfB1taJRmU1yoJ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10490"; a="301698183" X-IronPort-AV: E=Sophos;i="5.95,158,1661842800"; d="scan'208";a="301698183" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2022 10:38:31 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10490"; a="657211821" X-IronPort-AV: E=Sophos;i="5.95,158,1661842800"; d="scan'208";a="657211821" Received: from pvarla-mobl4.gar.corp.intel.com (HELO localhost) ([10.252.39.104]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2022 10:38:27 -0700 From: Jani Nikula To: Pablo Ceballos , David Airlie , Daniel Vetter Cc: Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Ville =?utf-8?B?U3lyasOkbMOk?= , Thomas Zimmermann , Javier Martinez Canillas , Sam Ravnborg , Pablo Ceballos , Maxime Ripard , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/i915/display/lspcon: Increase LSPCON mode settle timeout In-Reply-To: <20220915004601.320198-1-pceballos@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20220915004601.320198-1-pceballos@google.com> Date: Tue, 04 Oct 2022 20:38:24 +0300 Message-ID: <87ilkzsd4f.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.3 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 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 Thu, 15 Sep 2022, Pablo Ceballos wrote: > On some devices the Parade PS175 takes more than 400ms to settle in PCON > mode. Got any bug report with more info, or any other details to back this up? This is kind of thin. What's the 800 ms based on? BR, Jani. > > Signed-off-by: Pablo Ceballos > --- > drivers/gpu/drm/i915/display/intel_lspcon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_lspcon.c b/drivers/gpu/drm/i915/display/intel_lspcon.c > index 15d59de8810e..b4cbade13ee5 100644 > --- a/drivers/gpu/drm/i915/display/intel_lspcon.c > +++ b/drivers/gpu/drm/i915/display/intel_lspcon.c > @@ -166,7 +166,7 @@ static enum drm_lspcon_mode lspcon_wait_mode(struct intel_lspcon *lspcon, > drm_dbg_kms(&i915->drm, "Waiting for LSPCON mode %s to settle\n", > lspcon_mode_name(mode)); > > - wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 400); > + wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 800); > if (current_mode != mode) > drm_err(&i915->drm, "LSPCON mode hasn't settled\n"); -- Jani Nikula, Intel Open Source Graphics Center