From nobody Fri Dec 19 21:55:58 2025 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECA551957FC for ; Mon, 5 May 2025 17:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.154.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746464686; cv=none; b=L0TnAfNz55823/DhmaMGpScKZatV0S4Ugw6hQ+suCcAllpNUdvCuJt557zG5VKhFS0Qz77G36PLeajy3llAy/y39gXNXTBLJBkPQiYK5eVgsr0PEPHFSguL3g9XSzRDPBYEV88B3L6HX9t/dlAFaRaRbOAatiZo+IKPf0BDlTgg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746464686; c=relaxed/simple; bh=f1unv9uKWkpLkfv0FcoXEn2Mw9gnEODhyfQHPGruINo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qxS1liyRKXdtmYakl+zPxSUh+OLAEJjNNp7H5MgU2/2wtQxBVxGn30VIYR0LzVILUAb+0WoNxS3KZPjfA0UzMZ4j6k7bymslSd2axC9GUhLD1V7t7jT9B089TDEUlbQ6uOpRFhdUbeeCGJj4O8sd3hTxYeTRO9br4nTqLUUW9xA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ventureresearch.com; spf=pass smtp.mailfrom=ventureresearch.com; dkim=pass (2048-bit key) header.d=ventureresearch.com header.i=@ventureresearch.com header.b=dAzBLF60; arc=none smtp.client-ip=67.231.154.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ventureresearch.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventureresearch.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventureresearch.com header.i=@ventureresearch.com header.b="dAzBLF60" Received: from engine.ppe-hosted.com (unknown [10.110.50.102]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id E524D602A2; Mon, 5 May 2025 17:04:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventureresearch.com; h=cc:cc:content-transfer-encoding:content-transfer-encoding:content-type:content-type:date:date:from:from:in-reply-to:in-reply-to:message-id:message-id:mime-version:mime-version:references:references:subject:subject:to:to; s=selector-1717781956; bh=sruw//HjQB6XJQIxHMRHC9dIAmbSQWjtCq2IsgN/sbI=; b=dAzBLF60Qkk7ahCJWVoinInWp4RsLt0SZWRoUG30RNueTNbgC7Y92Z0AJ+GMmv4suDnqZS9Y0PmhJ33JSxoQEVAZm7LBD+Vte0F9lMlBgvfE29kQXssJS3kxFrARC5PrqkJh4O55mulESP86/VEOOVVHqZnUGuQokmUkxBglT2v1cgvfj2nvXig1WHRnD+nKLZmobq29q4hv1/o91nBXokGmGkA+F5wgXr+xzyhtc2IN/upsmN7pEXPngbfzcPT8JvSztC4IC7OiqsqNSu4zSuPWE3aQwEl7a9+JpFiXE+8oODs+TbxMqqYFh3pNzfnJa8UXF1afUypwC6WiqZs4bQ== X-Virus-Scanned: Proofpoint Essentials engine Received: from Mail2019.crm.ventureresearch.com (unknown [67.210.242.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id DB60B340085; Mon, 5 May 2025 17:04:33 +0000 (UTC) Received: from build01-deb.crm.ventureresearch.com (2605:ed00:15b3:1::5:1) by mail.ventureresearch.com (2605:ae00:1849:1::1:19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 5 May 2025 12:04:33 -0500 From: Kevin Baker To: Neil Armstrong , Sam Ravnborg CC: Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Alex Gonzalez , Thierry Reding , Rob Herring , , , Kevin Baker Subject: [PATCH v2] drm/panel: simple: Update timings for AUO G101EVN010 Date: Mon, 5 May 2025 12:02:56 -0500 Message-ID: <20250505170256.1385113-1-kevinb@ventureresearch.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MDID: 1746464675-oNH0tDlgHK0m X-PPE-STACK: {"stack":"us1"} X-MDID-O: us1;at1;1746464675;oNH0tDlgHK0m;;58e32da1f0e7946bb9643c97f392fd2c X-PPE-TRUSTED: V=1;DIR=OUT; Content-Type: text/plain; charset="utf-8" Switch to panel timings based on datasheet for the AUO G101EVN01.0 LVDS panel. Default timings were tested on the panel. Previous mode-based timings resulted in horizontal display shift. Signed-off-by: Kevin Baker Fixes: 4fb86404a977 ("drm/panel: simple: Add AUO G101EVN010 panel support") Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/p= anel-simple.c index df718c4a86cb..c79dc8581054 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1026,27 +1026,28 @@ static const struct panel_desc auo_g070vvn01 =3D { }, }; =20 -static const struct drm_display_mode auo_g101evn010_mode =3D { - .clock =3D 68930, - .hdisplay =3D 1280, - .hsync_start =3D 1280 + 82, - .hsync_end =3D 1280 + 82 + 2, - .htotal =3D 1280 + 82 + 2 + 84, - .vdisplay =3D 800, - .vsync_start =3D 800 + 8, - .vsync_end =3D 800 + 8 + 2, - .vtotal =3D 800 + 8 + 2 + 6, +static const struct display_timing auo_g101evn010_timing =3D { + .pixelclock =3D { 64000000, 68930000, 85000000 }, + .hactive =3D { 1280, 1280, 1280 }, + .hfront_porch =3D { 8, 64, 256 }, + .hback_porch =3D { 8, 64, 256 }, + .hsync_len =3D { 40, 168, 767 }, + .vactive =3D { 800, 800, 800 }, + .vfront_porch =3D { 4, 8, 100 }, + .vback_porch =3D { 4, 8, 100 }, + .vsync_len =3D { 8, 16, 223 }, }; =20 static const struct panel_desc auo_g101evn010 =3D { - .modes =3D &auo_g101evn010_mode, - .num_modes =3D 1, + .timings =3D &auo_g101evn010_timing, + .num_timings =3D 1, .bpc =3D 6, .size =3D { .width =3D 216, .height =3D 135, }, .bus_format =3D MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .bus_flags =3D DRM_BUS_FLAG_DE_HIGH, .connector_type =3D DRM_MODE_CONNECTOR_LVDS, }; =20 --=20 2.39.5