History log of /haiku/src/add-ons/accelerants/nvidia/engine/nv_i2c.c
Revision Date Author Comments
# 375a70e9 17-Apr-2021 Rudolf Cornelissen <rudhaiku@gmail.com>

Fixed I2C buses not working on C51 (some Geforce 6100/6150/Go cards). DDC/EDID should now work on all supported cards.


# 0ccd8732 17-Oct-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

preventing DDC/EDID use if monitor reports native mode below VGA mode. This prevents the driver exporting a modelist with zero modes, resulting in black screen. Seen this at BG on Mark's old Neovo screen. Seems a DDC firmware bug inside the screen.

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


# 3ab7752c 30-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed use of EDID info for at least the internal panel on NV34, geforce FX 5200 laptops. +alphabranch

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


# d44a7fae 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed a typo in dump_edid.

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


# 9b53cf03 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

implemented haiku-specific hook GET_ACCELERANT_DEVICE_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Note: currently only working for analog connected screens, digital connected screens coming up next. Updated docs, bumped version to 0.96.

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


# f72c42f8 20-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

reverting part of the I2C delay between writing SCL and DAT since the hardware design does not suffer from the read-modify-write issue I thought it might be.

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


# 20311695 17-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added small delay between outputting clock and data signals on I2C buses to prevent possible read-modify-write errors. hopefully fixes ticket #4084.. bumped driverversion to 0.95.

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


# 8bdea419 22-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

doing preparations for using analog widescreen detection. if all is right the driver's behaviour hasn't changed yet.

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


# 7843b5bf 03-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

re-enabled EDID native modeline grabbing with I2C bus 2 enabled. Now EDID is correctly fetched on all my cards, including G72 id0x1d1 and NV43 id0x141. info is stored in shared_info, not actually used yet though. (wip)

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


# c1db4db3 02-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified I2C code to read the third bus on cards that can support it. Dumping EDID scanning results in logfile only for now (testing..) Bumped version to 0.92.

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


# dd67a9b2 01-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added enabling I2C buses for NV40 arch cards. hopefully this makes the buses work on GF6100 (noted in bug #2780) and maybe others. added a few registerdefines (wip).

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


# 1f587237 28-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

comments update only. There's now enough info to implement actual use of DDC/EDID (I hope). It will be mixed with the old methods, since on some cards DDC fails for some connectors, and laptops don't use DDC for their internal panels at all.

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


# f595427d 27-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed comment typos. No actual change.

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


# 21bade01 27-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more EDID stuff. Now extracting needed monitor specs and placing them in shared_info. More dumping to logfile added. The EDID info is not yet actually used: more testing is needed.

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


# 40407718 02-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

EDID test: only check on wired buses.

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


# bb0ac358 02-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added partial DDC/EDID support using the accelerants common staticlibrary. Only dumping config, monitor info to logfile. logfiles are welcome as the CRTC/DAC to I2Cport relationchip is not known by me yet. Bumped version to 0.89.

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


# 260dcf8e 27-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified I2C- and brooktree-chip-detection routines to support all 4 possible i2c buses on dualhead cards.

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


# b2459715 01-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated validation for TVflags in display_mode to reflect nvidia driver capabilities (instead of matrox driver ones). Going for singlehead card tests first.

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


# 9a7218c5 30-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more logging for brooktree TVout.

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


# 0ece4905 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added i2C readbuf and writebuf routines, added extra check on supported BT/CX encoder type.

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


# 78c83805 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added forgotten explicit CRTC1 access selection in some i2c routines.

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


# 12566cbd 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added brooktree (BT) and conexant (CX) TV encoder recognition, as far as was supported in BeTVOut (BT868/869, CX25870/25871). Tested OK on TNT1 with BT869 on secondary adres, primary bus.

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


# 15b4879f 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added I2C bus wiring checks, and bumped version to 0.54. Note: the driver is tested on TNT1, the new code has not been tested for newer cards yet. Note also: the driver is now nolonger binary compatible with the 3D add-on alpha2, 2.5 and 3 (modified driverinterface).

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


# f4d7a7b4 25-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more I2C stuff. Low(est) level routines are now completed.

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


# d1d567ab 25-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more I2C stuff (in progress)

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


# 6c25f4ae 24-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added I2C routines from BeTVOut (in progress). Starting TVout support (whenever I have a bit of spare time :)

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


# f2777ca1 30-Dec-2003 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed several compiler warnings


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


# 08705d96 22-Nov-2003 shatty <shatty@nowhere.fake>

add nvidia accelerant


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


# 0ccd8732acbfb1ce09849b2b094eefc005755e2c 17-Oct-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

preventing DDC/EDID use if monitor reports native mode below VGA mode. This prevents the driver exporting a modelist with zero modes, resulting in black screen. Seen this at BG on Mark's old Neovo screen. Seems a DDC firmware bug inside the screen.

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


# 3ab7752ce8f0b3f1981fc1d20cc692d973b80835 30-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed use of EDID info for at least the internal panel on NV34, geforce FX 5200 laptops. +alphabranch

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


# d44a7fae5119a4fa33bead20adfa469aa5cad8b7 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed a typo in dump_edid.

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


# 9b53cf03cdb033edafcbea7aa767af98f693ec63 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

implemented haiku-specific hook GET_ACCELERANT_DEVICE_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Note: currently only working for analog connected screens, digital connected screens coming up next. Updated docs, bumped version to 0.96.

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


# f72c42f8620badc0de3c78db0ac0d8e9f4d9261d 20-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

reverting part of the I2C delay between writing SCL and DAT since the hardware design does not suffer from the read-modify-write issue I thought it might be.

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


# 203116954ed600ccbb68513ee14f407f5b970967 17-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added small delay between outputting clock and data signals on I2C buses to prevent possible read-modify-write errors. hopefully fixes ticket #4084.. bumped driverversion to 0.95.

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


# 8bdea4194a97a9ae962e68ff42f456d46d3f658a 22-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

doing preparations for using analog widescreen detection. if all is right the driver's behaviour hasn't changed yet.

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


# 7843b5bfa38a024aad6ac28beeff1f2c35a414b6 03-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

re-enabled EDID native modeline grabbing with I2C bus 2 enabled. Now EDID is correctly fetched on all my cards, including G72 id0x1d1 and NV43 id0x141. info is stored in shared_info, not actually used yet though. (wip)

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


# c1db4db3cc18acee254fe3d879c1a5db4e31d39b 02-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified I2C code to read the third bus on cards that can support it. Dumping EDID scanning results in logfile only for now (testing..) Bumped version to 0.92.

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


# dd67a9b2d476098ec94c28f9dc907a96edd3b92b 01-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added enabling I2C buses for NV40 arch cards. hopefully this makes the buses work on GF6100 (noted in bug #2780) and maybe others. added a few registerdefines (wip).

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


# 1f58723702053b9ab6f1582d24d78eadce6dd6c9 28-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

comments update only. There's now enough info to implement actual use of DDC/EDID (I hope). It will be mixed with the old methods, since on some cards DDC fails for some connectors, and laptops don't use DDC for their internal panels at all.

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


# f595427d0078bb236772bafe05bbb7c53733e90f 27-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed comment typos. No actual change.

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


# 21bade017a1e67864f01a412f56c6baaad4e3db3 27-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more EDID stuff. Now extracting needed monitor specs and placing them in shared_info. More dumping to logfile added. The EDID info is not yet actually used: more testing is needed.

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


# 404077189cc6888a4315028c25fe20a0b7b6d36f 02-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

EDID test: only check on wired buses.

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


# bb0ac35825c8070bea812e39037b50ad568d8af6 02-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added partial DDC/EDID support using the accelerants common staticlibrary. Only dumping config, monitor info to logfile. logfiles are welcome as the CRTC/DAC to I2Cport relationchip is not known by me yet. Bumped version to 0.89.

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


# 260dcf8ee86614c7938cebcc132a743a09bea522 27-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified I2C- and brooktree-chip-detection routines to support all 4 possible i2c buses on dualhead cards.

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


# b245971503a6e22fa4a0ed7111d82c49710d662f 01-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated validation for TVflags in display_mode to reflect nvidia driver capabilities (instead of matrox driver ones). Going for singlehead card tests first.

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


# 9a7218c5e501d37652421f7e33b1960880d8f580 30-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more logging for brooktree TVout.

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


# 0ece490589ba2f03616ecc5990924b463abed48a 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added i2C readbuf and writebuf routines, added extra check on supported BT/CX encoder type.

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


# 78c83805f2904998be3b0ddd708aacc8f5837691 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added forgotten explicit CRTC1 access selection in some i2c routines.

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


# 12566cbd0db6d1d6e7dd9623c6642a29c0ed7c36 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added brooktree (BT) and conexant (CX) TV encoder recognition, as far as was supported in BeTVOut (BT868/869, CX25870/25871). Tested OK on TNT1 with BT869 on secondary adres, primary bus.

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


# 15b4879f7148f742c0b710bd561e50bcd1b0c5c8 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added I2C bus wiring checks, and bumped version to 0.54. Note: the driver is tested on TNT1, the new code has not been tested for newer cards yet. Note also: the driver is now nolonger binary compatible with the 3D add-on alpha2, 2.5 and 3 (modified driverinterface).

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


# f4d7a7b4bd3b7760be998a748e95e66a511d2540 25-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more I2C stuff. Low(est) level routines are now completed.

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


# d1d567ab2185e4c71e7870dfde5a4d57ea4c54e0 25-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more I2C stuff (in progress)

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


# 6c25f4ae64eebeb0c0dc81413d249bfd70eebd6b 24-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added I2C routines from BeTVOut (in progress). Starting TVout support (whenever I have a bit of spare time :)

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


# f2777ca181923f9ed5bbac7440bede24d2aa6f0e 30-Dec-2003 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed several compiler warnings


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


# 08705d9664e3c9fe0b038c281945bcd462693715 22-Nov-2003 shatty <shatty@nowhere.fake>

add nvidia accelerant


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