FreeBSDDesktop / DEPRECATED-freebsd-base-graphics

Fork of FreeBSD's base repository to work on graphics-stack-related projects
Other
49 stars 13 forks source link

Turn on radeon_hw_i2c by default. #172

Closed juikim closed 6 years ago

juikim commented 6 years ago

This lets me use Pitcairn and Turks. Note it is analogous to https://github.com/FreeBSDDesktop/freebsd-base-graphics/commit/2e02433fc04a1695c3873929ab4e758c7393bf4f for amdgpu.

mattmacy commented 6 years ago

Seems reasonable.

avg-I commented 6 years ago

I wonder if this change was a bit premature. Several reasons:

johalun commented 6 years ago

Thanks for the feedback. Around the end of April we will be done preparing the next drm-stable release which will be based on Linux v4.15. After that we will focus on sorting out all known bugs. For latest WIP, try the drm-v4.15-WIP branches on this repo and the kms-drm repo.

avg-I commented 6 years ago

Thank you for the feedback. I do not see any differences related to linux_i2c.c or radeon_hw_i2c in that branch.

juikim commented 6 years ago

@avg-I

I wonder if @juikim tested the change with monitors that have EDID longer than 128, e.g. as described in FreeBSDDesktop/kms-drm#19 (see comments starting at https://github.com/FreeBSDDesktop/kms-drm/issues/19#issuecomment-374051414).

Yes, I have. It was my desperation to make it work at the time. Please see FreeBSDDesktop/freebsd-base-graphics#170 and FreeBSDDesktop/freebsd-base-graphics#171.

also, I think that the bit-bang algorithm in the Linux emulation code has a bug, see FreeBSDDesktop/kms-drm#51 and maybe it's that bug that caused the trouble in the first place.

Yes, it seems that was the culprit. Actually, I knew linuxkpi had incomplete i2c support and I suspected fixing it might obsolete this workaround. Please see https://github.com/FreeBSDDesktop/freebsd-base-graphics/pull/168#issuecomment-325799534.