From owner-svn-src-all@freebsd.org Thu Jun 11 18:02:10 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A25AA33C65E; Thu, 11 Jun 2020 18:02:10 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jWsG2Tswz4B37; Thu, 11 Jun 2020 18:02:10 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1jjRWd-000Eq5-6x; Thu, 11 Jun 2020 11:02:03 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id 05BI23s7057044; Thu, 11 Jun 2020 11:02:03 -0700 (PDT) (envelope-from gonzo@freebsd.org) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@freebsd.org using -f Date: Thu, 11 Jun 2020 11:02:02 -0700 From: Oleksandr Tymoshenko To: rgrimes@freebsd.org Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r362029 - head/sys/dev/hdmi Message-ID: <20200611180202.GA56927@bluezbox.com> References: <202006102138.05ALcZZV087863@repo.freebsd.org> <202006111344.05BDiwc4060074@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202006111344.05BDiwc4060074@gndrsh.dnsmgr.net> X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Rodney W. Grimes (freebsd@gndrsh.dnsmgr.net) wrote: > > Author: gonzo > > Date: Wed Jun 10 21:38:35 2020 > > New Revision: 362029 > > URL: https://svnweb.freebsd.org/changeset/base/362029 > > > > Log: [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: 49jWsG2Tswz4B37 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, country:US]; local_wl_from(0.00)[freebsd.org] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 18:02:10 -0000 Rodney W. Grimes (freebsd@gndrsh.dnsmgr.net) wrote: > > Author: gonzo > > Date: Wed Jun 10 21:38:35 2020 > > New Revision: 362029 > > URL: https://svnweb.freebsd.org/changeset/base/362029 > > > > Log: > > Fix reading EDID on TVs/monitors without E-DCC support > > > > Writing segment id to I2C device 0x30 only required if the segment is > > non-zero. On the devices without E-DCC support writing to that address > > fails and whole transaction then fails too. To avoid this do > > not attempt write to the segment selection device unless required. > > > > MFC after: 2 weeks > > Is it possible that this bad write is what has caused me to corrupt > the EDID of 3 monitors over the last year while using a Display > Port to HDMI cable on them? Very unlikely. This write just sets segment index for the following EDID read. Also the driver is used only on iMX6 and MIPS Creator CI20. -- gonzo