History log of /haiku/src/add-ons/accelerants/common/ddc.c
Revision Date Author Comments
# 5f90c372 27-Mar-2022 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: change i2c_send_receive to a hook

common: i2c/ddc uses a 7-bit address for EDID.

Change-Id: Ic1bba2a23174c671bd7374104596c22433bd343a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5171
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 39bc159e 30-Sep-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* small bit of common i2c / ddc white space cleanup
* small bit of tracing cleanup
* no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42794 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c54a6536 13-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Committed patch by Gerald Zajac, thanks!:
* Enabled testing the checksum of the EDID info.
* Added a version check of the EDID info.
* Added more debug output.
* In the ModeList class, changes were made to how the refresh rate is
computed and used. Previously, some of the basic VESA modes were not
added to the mode list because the computed and specified refresh rates
did not exactly match. Now if the computed refresh rate is within 1.2%
of the specified rate, the mode is added. With this change, all basic
VESA modes selected by the EDID info are now added to the mode list.
* The "additional video modes" shown in the EDID dump are now added to
the mode list. Previously, this mode data was setup but not added to
the mode list. Code was also added here to set the vertical &
horizontal sync polarity according the EDID info. The sync polarities
are set according to a VESA document that I have.
* Fixed copy_str() warning, broken removal of trailing spaces, and null
termination.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd7e4cc3 21-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Made providing a place for vdif and vdifLength optional in ddc2_read_edid1().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22270 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 93a1ccab 19-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

* Separated I2C from DDC a bit more.
* i2c_bus now contains a i2c_timing structure, so that you don't need
both to talk to the I2C bus.
* Therefore, there is now a void ddc2_init_timing() function to get the
the timing DDC needs.
* Cleanup in radeon's monitor_detection.c, and updated it to work with
the DDC/I2C changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7b48d975 31-Jul-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Vasilis Kaoutsis - thanks!:
* Fixed some warnings.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21774 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2a37e4c1 15-Jul-2004 shadow303 <shadow303@nowhere.fake>

Upgrade to version 4.1 of radeon driver.
Includes some common routines which can be used by other accelerants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39bc159e6ebf1cb66068a5f1824f3033a62ba375 30-Sep-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* small bit of common i2c / ddc white space cleanup
* small bit of tracing cleanup
* no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42794 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c54a6536d67c85b7d54ee153ac984200bdbf727f 13-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Committed patch by Gerald Zajac, thanks!:
* Enabled testing the checksum of the EDID info.
* Added a version check of the EDID info.
* Added more debug output.
* In the ModeList class, changes were made to how the refresh rate is
computed and used. Previously, some of the basic VESA modes were not
added to the mode list because the computed and specified refresh rates
did not exactly match. Now if the computed refresh rate is within 1.2%
of the specified rate, the mode is added. With this change, all basic
VESA modes selected by the EDID info are now added to the mode list.
* The "additional video modes" shown in the EDID dump are now added to
the mode list. Previously, this mode data was setup but not added to
the mode list. Code was also added here to set the vertical &
horizontal sync polarity according the EDID info. The sync polarities
are set according to a VESA document that I have.
* Fixed copy_str() warning, broken removal of trailing spaces, and null
termination.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd7e4cc3338b4b4195529176579a25a4f4e243b5 21-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Made providing a place for vdif and vdifLength optional in ddc2_read_edid1().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22270 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 93a1ccabb982a7cbe20ded2f02fdc7ffa4950af6 19-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

* Separated I2C from DDC a bit more.
* i2c_bus now contains a i2c_timing structure, so that you don't need
both to talk to the I2C bus.
* Therefore, there is now a void ddc2_init_timing() function to get the
the timing DDC needs.
* Cleanup in radeon's monitor_detection.c, and updated it to work with
the DDC/I2C changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7b48d975f5fb016844699e31d1477337a09c04fb 31-Jul-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Vasilis Kaoutsis - thanks!:
* Fixed some warnings.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21774 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2a37e4c1cf59b445e309a3880ceed82d25a0d107 15-Jul-2004 shadow303 <shadow303@nowhere.fake>

Upgrade to version 4.1 of radeon driver.
Includes some common routines which can be used by other accelerants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8406 a95241bf-73f2-0310-859d-f6bbb57e9c96