From: Benson Leung Subject: Re: [PATCH] drm/i915: make edp optimize config Date: Thu, 8 Mar 2018 20:48:32 -0800 Message-ID: <20180309044832.GA243081@decatoncale.mtv.corp.google.com> References: <1520558258-29248-1-git-send-email-matthew.s.atwood@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1093775507==" Return-path: Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFE286E2C6 for ; Fri, 9 Mar 2018 04:48:36 +0000 (UTC) Received: by mail-it0-x236.google.com with SMTP id u66so1306773ith.1 for ; Thu, 08 Mar 2018 20:48:36 -0800 (PST) In-Reply-To: <1520558258-29248-1-git-send-email-matthew.s.atwood@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: matthew.s.atwood@intel.com Cc: intel-gfx@lists.freedesktop.org, bleung@google.com List-Id: intel-gfx@lists.freedesktop.org --===============1093775507== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Matt, Minor commit message nits. On Thu, Mar 08, 2018 at 05:17:38PM -0800, matthew.s.atwood@intel.com wrote: > From: Matt Atwood >=20 > Previously it was assumed that eDP panels would advertise the lowest link > rate required for their singular mode to function. With the introduction > of more advanced features there are advantages to a panel advertising a > higher rate then s/then/than > it needs for a its given mode.=20 Don't need "its" here. > For panels that did, the > driver previously used a higher rate then necessary for that mode. > s/then/than =20 > Signed-off-by: Matt Atwood Tested-by: Benson Leung Tested this on a panel and system with the following source and sink rates: [ 1.623225] [drm:intel_dp_print_rates] source rates: 162000, 216000, 270= 000, 324000, 432000, 540000 [ 1.623230] [drm:intel_dp_print_rates] sink rates: 162000, 216000, 24300= 0, 270000, 324000, 432000, 540000 [ 1.623234] [drm:intel_dp_print_rates] common rates: 162000, 216000, 270= 000, 324000, 432000, 540000 Prior to this patch, the driver would pick and train at 540000: [ 2.865653] [drm:intel_dp_start_link_train] [CONNECTOR:76:eDP-1] Link Tr= aining Passed at Link Rate =3D 540000, Lane count =3D 4 After this patch, the driver picks and trains at 324000, which is enough for the panel's native mode: [ 5.359499] [drm:intel_dp_start_link_train] [CONNECTOR:76:eDP-1] Link Tr= aining Passed at Link Rate =3D 324000, Lane count =3D 4 Thanks! Benson --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6gYDF28Li+nEiKLaHwn1ewov5lgFAlqiEh4ACgkQHwn1ewov 5lj1MQ/9G7djIMyhZSbvZ2YnyK22GynEZCLRlH2Aip3hnd+glgDOX43XJdb4X7Zl h/QnN2sEvUDqWqsLcYDPhCmdWR73Qnayqq11RpvCkjuc7JT/JKu/JosFj4mJWb97 iRzpLlFiJjvbsFWqiY7Q0jRidq4PoX4Icfp1SV0J0mbbAh4f1SB2lWJlzzLI4bMG Tk7+EgeOewuftw9W+raBFhSwrPaFjCAVxUW2rb6MONhv3644jaOr4ecgSczo8wbb MuzGUCFWb8fN2tXIadoZDYwxmO9+qXen3S1E7wPq/hELOUw+qtdsn4qvDvCxW15k SR+zSHpH2WTi8X7NK03vxeMop/2cEFVUbabe/BRs5wWvmf2z6qt8cldCVaEJHcq2 vgIqfbzH/gnxxm9aRU635IBXN2w+cFxg7C21Na25NMbPxrf1g0o/9zTUlGM9oFJe PLU9qIhtMA20iOBO+9wDm3xTXpKnvI3hwe2rzT7FqyCckMIqydAz9mZylJt+1QRI gzN813njKcGhreWnujl93TQJ/tGFySUBRO04TYF6lBjZwUkmqQ6e8t0zkTIo92x/ bEWjfYdhob61Wdr2qQEINiKYWhEWS5zq/wzLd43PtVDNXf0SsI46WBBc2YmqrB1L T4pae+FVl0lDwwu0H+2XajukKRpJIS/lwMx9wEXR+B6wwlw6WfM= =W8Uz -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- --===============1093775507== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============1093775507==--