From patchwork Tue May 30 10:16:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Hogander, Jouni" X-Patchwork-Id: 13259655 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0A621C7EE23 for ; Tue, 30 May 2023 10:17:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6710110E141; Tue, 30 May 2023 10:17:17 +0000 (UTC) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id CEADD10E141 for ; Tue, 30 May 2023 10:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685441835; x=1716977835; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gn6lWoCNzb4W3zibHNYDcTwmZRGOPdZ39OoltIbkzrE=; b=BxHeWzysyq2ch15Hf77aSVUf7ndWJBmcYWSZXliemc3W3ZtUHGhkodZ+ Vqd6gs5m7dI4bCHBcj9lTC+rhwWzwKqnk4PNDu8onGW2SVe+t2TDpp4UY 93wKXFzgKFJY7Nqh8gUG9CI/7TYUx3PStqAsVvdIiwZEXXNtw+f//6hWh 8tRj4fPkyjA7dgohgrZXUapnrM6pm/Kxz9l4aZJdmA+T+68uXH1jWd+oG xQMxclRnXA2af48t+hq4YKE7+6FluTTIjfFIoD/vgP7y2Tq0ZQQ8zCU8R SEe9v+NdKmR9NP+uaCLB6uZE8wsW4pWsr3dVnp8QjpItIGYxl7j7Nea5r w==; X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="418357341" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="418357341" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 03:17:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="700566159" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="700566159" Received: from aravind2-mobl3.ger.corp.intel.com (HELO jhogande-mobl1.ger.corp.intel.com) ([10.252.46.36]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 03:17:02 -0700 From: =?utf-8?q?Jouni_H=C3=B6gander?= To: intel-gfx@lists.freedesktop.org Date: Tue, 30 May 2023 13:16:49 +0300 Message-Id: <20230530101649.2549949-1-jouni.hogander@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Subject: [Intel-gfx] [PATCH v3] drm/i915: Use 18 fast wake AUX sync len X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" HW default for wake sync pulses is 18. 10 precarge and 8 preamble. There is no reason to change this especially as it is causing problems with certain eDP panels. v3: Change "Fixes:" commit v2: Remove "fast wake" repeat from subject Signed-off-by: Jouni Högander Fixes: e1c71f8f9180 ("drm/i915: Fix fast wake AUX sync len") Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8475 Reviewed-by: Luca Coelho --- drivers/gpu/drm/i915/display/intel_dp_aux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c b/drivers/gpu/drm/i915/display/intel_dp_aux.c index 0c27db8ae4f1..197c6e81db14 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_aux.c +++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c @@ -129,7 +129,7 @@ static int intel_dp_aux_sync_len(void) static int intel_dp_aux_fw_sync_len(void) { - int precharge = 16; /* 10-16 */ + int precharge = 10; /* 10-16 */ int preamble = 8; return precharge + preamble;