From nobody Sun Nov 24 18:23:14 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70AB318E359 for ; Mon, 4 Nov 2024 06:44:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730702647; cv=none; b=UOsFK9WEZy785KsvxgmES+LQ9AlW+0pgIN69hUaotQd0X+AmqeAG4aoi2/RHFnnazJRWH7hWm/c97t3A/knKwvZcq6JuM1TyRgNLLDxl+JdyE4Ei/ub3L3MPtoIpuD2FOspPizjO/M8gDyeQ8nnVAtH5qZtig4vDZy8OahcLlfM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730702647; c=relaxed/simple; bh=H/QjnbdWcGZr/3yVhc6hw87LffyFcEIL677anYJofeY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m2dPcQBEikPK4sUPUJj2MBTeN60dF/iIsGEIGW6m9uvSDdwQZgNhKyzAY9QARFV679Rec8FiJAMzVT92SI2ummzn7M2k6WGzsuxUErd/ZagToqfnr6KqkA6xyUlygol3yg+ePN1lU+Khh6lfoXSliPpxACRctvRazsS03yil/rY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P28JK9qP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P28JK9qP" Received: by smtp.kernel.org (Postfix) with ESMTPS id 49D92C4CED6; Mon, 4 Nov 2024 06:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730702647; bh=H/QjnbdWcGZr/3yVhc6hw87LffyFcEIL677anYJofeY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=P28JK9qP/OHZ1ya8bSaFlfklLg0nBFffExIla05U1Q9nhFXjpqGWkZs+BM1q+OWVi Dh1quuYZ62OiBVwytmTo0G0To3xtWFnxCRcInzlc3riG6Utxb+Id9Lc7dYeYmxP/9T Q9sI60RcRsPr+7XbTuxCvvdwJ4GFhbhILMKkASgso+Pzt4eR5/mF7q3oavY5RlYuG7 fwrwRaNXR57Xw2keG2u5iUjezZ20NUUyYVeoUjrfpx88m3h+Q0AnmF+NfbboQp/v1f ZIR6LXi9IkMRTJZbrbJcDcRYee752LNZ+leqTSZt0pqEBVINJDBAAnt4EE6+q8mBXc IvKC1r2QzbpRQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37F55D11183; Mon, 4 Nov 2024 06:44:06 +0000 (UTC) From: Hermes Wu via B4 Relay Date: Mon, 04 Nov 2024 14:43:31 +0800 Subject: [PATCH v7 01/10] drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241104-v7-upstream-v7-1-8b71fd0f1d2d@ite.com.tw> References: <20241104-v7-upstream-v7-0-8b71fd0f1d2d@ite.com.tw> In-Reply-To: <20241104-v7-upstream-v7-0-8b71fd0f1d2d@ite.com.tw> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , AngeloGioacchino Del Regno , Hermes Wu Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Pin-yen Lin , Kenneth Hung , Pet Weng , Hermes Wu , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730702658; l=903; i=Hermes.wu@ite.com.tw; s=20241101; h=from:subject:message-id; bh=Tyri1iviyPfgpFppBgVRv/Ms7xTN8BMh3eiXrgG9mds=; b=lTI2ZtSC6VNL+p4Q4yHm0ZqIiqLYKVMLvEe5vs+1U75vgwn5QWzERYz5K6C82TieoPwrXezr1 aLR0GAvHkItDoDzOOsSSF660O3ICdtfMhw2y+YikN33AiePmMRaH4CX X-Developer-Key: i=Hermes.wu@ite.com.tw; a=ed25519; pk=FOYYbsP2Nlw6mjB3rLFYSLmAiENzj4AWQly5XTcDuMM= X-Endpoint-Received: by B4 Relay for Hermes.wu@ite.com.tw/20241101 with auth_id=268 X-Original-From: Hermes Wu Reply-To: Hermes.wu@ite.com.tw From: Hermes Wu The hardware AUX FIFO is 16 bytes Change definition of AUX_FIFO_MAX_SIZE to 16 Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver") Reviewed-by: Dmitry Baryshkov Signed-off-by: Hermes Wu --- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/i= te-it6505.c index 7ff17aa14b01e4d9f626424e065131ae2b195c62..3272ca6951f2585f9592834869d= e23ac50ce41a4 100644 --- a/drivers/gpu/drm/bridge/ite-it6505.c +++ b/drivers/gpu/drm/bridge/ite-it6505.c @@ -300,7 +300,7 @@ #define MAX_CR_LEVEL 0x03 #define MAX_EQ_LEVEL 0x03 #define AUX_WAIT_TIMEOUT_MS 15 -#define AUX_FIFO_MAX_SIZE 32 +#define AUX_FIFO_MAX_SIZE 16 #define PIXEL_CLK_DELAY 1 #define PIXEL_CLK_INVERSE 0 #define ADJUST_PHASE_THRESHOLD 80000 --=20 2.34.1