From mboxrd@z Thu Jan 1 00:00:00 1970 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 61470196C7D; Thu, 6 Jun 2024 14:11:35 +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=1717683095; cv=none; b=neXI2cP5vuQMoJDBiBPV0/IfXHiCJ7g3VM6iaYcZMVyDs/YMDiDAVx30EfcIlwUJKb4qrfXkW/FswOi/gXyUKiY3F5iHNrvKBKudoh5Ev/tD4TuPUgVbQVX7OxbXuA4msBmn7i0Xo+ocvFEY+p0bLQUn+rjYjafGncMa9hYS1Pc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683095; c=relaxed/simple; bh=OMwFaEtLGWZYZdwTgbMWem2Bt1v7xR/xwhI2J8MjIw0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ECaF9Gib1MW/c0DCUfDPRxZNIIViDVQA9MrvQiEBKlurd1shvsULuiRlAC+c+e1OoklYqe0kd7Ltj4SyW/8fDQ2hqHst4l4lzFkbAqrb+hob4GJbpfhfSx3JLIdMp1LKtldj8n0Az9+Isu6wzk2fpObGaleOIO16KEjcM4bRO6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0+EgWYeP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0+EgWYeP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E0ABC2BD10; Thu, 6 Jun 2024 14:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717683095; bh=OMwFaEtLGWZYZdwTgbMWem2Bt1v7xR/xwhI2J8MjIw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0+EgWYePLLOLDfPDEtE4w4tux6ChUoWO6+0T6HinJjVE2wj806e2MmFPmOPwEogv0 Nhi6jbtt9TB14W7qK3yaoL5kAkIgAFJRRZxuWL4SfocuIm+Mv8aX8/xCKCsmdZgD9j bPeFsiuZw0l+X/BSJVCfJsk32czXk28mPoWSJ7XY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jessica Zhang , Gerald Loacker , Neil Armstrong , Sasha Levin Subject: [PATCH 6.9 358/374] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel Date: Thu, 6 Jun 2024 16:05:37 +0200 Message-ID: <20240606131703.875372850@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240606131651.683718371@linuxfoundation.org> References: <20240606131651.683718371@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Gerald Loacker [ Upstream commit 0e5895ff7fab0fc05ec17daf9a568368828fa6ea ] Flickering was observed when using partial mode. Moving the vsync to the same position as used by the default sitronix-st7789v timing resolves this issue. Fixes: 0fbbe96bfa08 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Acked-by: Jessica Zhang Signed-off-by: Gerald Loacker Link: https://lore.kernel.org/r/20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-1-e4821802443d@wolfvision.net Signed-off-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid/20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-1-e4821802443d@wolfvision.net Signed-off-by: Sasha Levin --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index 88e80fe98112d..32e5c03480381 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -286,9 +286,9 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = { .hsync_end = 240 + 28 + 10, .htotal = 240 + 28 + 10 + 10, .vdisplay = 280, - .vsync_start = 280 + 8, - .vsync_end = 280 + 8 + 4, - .vtotal = 280 + 8 + 4 + 4, + .vsync_start = 280 + 48, + .vsync_end = 280 + 48 + 4, + .vtotal = 280 + 48 + 4 + 4, .width_mm = 43, .height_mm = 37, .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, -- 2.43.0