History log of /haiku/src/add-ons/accelerants/common/decode_edid.c
Revision Date Author Comments
# af136a21 04-Nov-2022 Jérôme Duval <jerome.duval@gmail.com>

graphics/edid: add support for the CTA extension block

Change-Id: I2799496faf2f9383c703384a419d8d9fcffc75ab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5803
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 65ed50c7 11-Dec-2021 Alexander von Gluck IV <kallisti5@unixzen.com>

graphics/edid: Add support for digital display info; solves #17462

* We pack the first 8 bits into a union for the raw
edid since alignment matters.
* Handing the raw_edid is a bit ugly, so in the edid struct
we drop the input_type from the union since packing doesn't
matter as much.

Change-Id: I32dbfe9484f9eb83cf491a44d30a32ca36d65b7b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4775
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 4462c768 26-Dec-2010 Michael Lotz <mmlr@mlotz.ch>

CID 8076 and 2191 (both pointing out the same): Only the first sizeof(pointer)
bytes were initialized to 0 due to wrong use of sizeof().


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


# 9661f324 07-May-2010 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

* Don't mark edid_detailed_timing entries with a pixel_clock <= 0 as EDID1_IS_DETAILED_TIMING. This prevents decode_edid clients to incorrectly interpret the entries as valid.

This fixes booting on the Samsung NP-N135, which used to reset before being able to enter the bootloader menu. It would be interesting if tickets #4408, #5539, #5696, and #5720 could be retested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36734 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


# 13a81299 12-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22516 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


# f1994d8b 20-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed a warning I probably just introduced.


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


# 047165ce 20-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed a warning.
* Removed unused include.
* Minor cleanup to match our style guide better.


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


# a5b83745 23-May-2005 Andrew Bachmann <andrewbachmann@nowhere.fake>

copy_str patch from Oscar Lesta [BiPolar]

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12795 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


# 4462c768e6bb8c70c4e4c23e9e4b2fbdca83c79d 26-Dec-2010 Michael Lotz <mmlr@mlotz.ch>

CID 8076 and 2191 (both pointing out the same): Only the first sizeof(pointer)
bytes were initialized to 0 due to wrong use of sizeof().


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


# 9661f324d93d08154f4d4c6f34b12ee934586d56 07-May-2010 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

* Don't mark edid_detailed_timing entries with a pixel_clock <= 0 as EDID1_IS_DETAILED_TIMING. This prevents decode_edid clients to incorrectly interpret the entries as valid.

This fixes booting on the Samsung NP-N135, which used to reset before being able to enter the bootloader menu. It would be interesting if tickets #4408, #5539, #5696, and #5720 could be retested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36734 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


# 13a81299f1871c4b6786bf07808cd05aae77b5a7 12-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22516 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


# f1994d8b4cdf94f3002cfd824eb74600e7a9073f 20-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed a warning I probably just introduced.


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


# 047165ce778cab3b1260095a0b3b29290d041bf6 20-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed a warning.
* Removed unused include.
* Minor cleanup to match our style guide better.


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


# a5b83745069679de69e081f0c7ba4eecc4c379ac 23-May-2005 Andrew Bachmann <andrewbachmann@nowhere.fake>

copy_str patch from Oscar Lesta [BiPolar]

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12795 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