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 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 451D9CA1012 for ; Thu, 4 Sep 2025 11:26:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC3F410E9FB; Thu, 4 Sep 2025 11:26:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Rtt+9D2F"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id C2CDC10E9BD; Thu, 4 Sep 2025 11:26:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1756985215; x=1788521215; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=lko9DjtPkR5Rmvg4oFapl/YcLraNe3xvrZ5M8mwcvtI=; b=Rtt+9D2FNydy5x3lqRAbstNfnyhhPzdBq17qwLweueyh28w34MV00QvF 0y84kgEHgdl1Pfaau4BD3T2yRAE+oBgM0KnM8dZ2tsc56gGT86RCyThcZ 214GdUatAwXfUquWM6xYoEW0ej3rgpt/n1tvOR2crEmkMVnAjOXwJp6xf XBECWHYGpqIBp3sU+rk4F731w0PjrHOBFxTOceymWKQ3M9VQGlblR/kdT /R7Rvs8M0AQThRo6cAzhHzIhC0jUagl0aZblMnrNS334uUxgAnUnHCCTE ZM9x+20ZaBGaSFYnlt48Le+MU644dhCIqIrYMJaEb4pJ+gZ+jkmzoFqU8 A==; X-CSE-ConnectionGUID: Kovp68AmRkOx6hAEK16I+w== X-CSE-MsgGUID: KKZE/eq0QdGhbxrcMNRKng== X-IronPort-AV: E=McAfee;i="6800,10657,11542"; a="76769901" X-IronPort-AV: E=Sophos;i="6.18,238,1751266800"; d="scan'208";a="76769901" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2025 04:26:54 -0700 X-CSE-ConnectionGUID: QjtXqxOdTdqlWZEOEqdEow== X-CSE-MsgGUID: i0Da72AFRy2Ouex5IbCGdA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,238,1751266800"; d="scan'208";a="176204769" Received: from carterle-desk.ger.corp.intel.com (HELO localhost) ([10.245.246.79]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2025 04:26:52 -0700 From: Jani Nikula To: "Hogander, Jouni" , "intel-xe@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" Cc: "ville.syrjala@linux.intel.com" , "Kandpal, Suraj" Subject: Re: [PATCH 01/20] drm/i915/hdmi: use generic poll_timeout_us() instead of __wait_for() In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: Date: Thu, 04 Sep 2025 14:26:49 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" On Wed, 03 Sep 2025, "Hogander, Jouni" wrote: > On Thu, 2025-08-28 at 15:20 +0300, Jani Nikula wrote: >> Prefer generic poll helpers over i915 custom helpers. >>=20 >> The functional change is losing the exponentially growing sleep of >> __wait_for(), which used to be 1, 2, 4, and 8 ms in this particular >> case. >>=20 >> Use an arbitrary constant 4 ms sleep instead. The timeout remains, >> varying between 20 ms and 3000 ms. >>=20 >> Cc: Suraj Kandpal >> Signed-off-by: Jani Nikula > > Reviewed-by: Jouni H=C3=B6gander Thanks a lot for the review, series pushed to din. BR, Jani. --=20 Jani Nikula, Intel