mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
Kernel: Split I2C functionality from IntelNativeDisplayConnector code
Splitting the I2C-related code lets the DisplayConnector code to utilize I2C operations without caring about the specific details of the hardware and allow future expansion of the driver to other newer generations sharing the same GMBus code. We should require a timeout for GMBus operations always, because faulty hardware could let us just spin forever. Also, if nothing is listening to the bus (which should result in a NAK), we could also spin forever.
This commit is contained in:
parent
ddc5c41253
commit
0c64abb5e3
5 changed files with 190 additions and 119 deletions
|
@ -74,6 +74,7 @@ set(KERNEL_SOURCES
|
|||
Graphics/DisplayConnector.cpp
|
||||
Graphics/Generic/DisplayConnector.cpp
|
||||
Graphics/GraphicsManagement.cpp
|
||||
Graphics/Intel/Auxiliary/GMBusConnector.cpp
|
||||
Graphics/Intel/NativeDisplayConnector.cpp
|
||||
Graphics/Intel/NativeGraphicsAdapter.cpp
|
||||
Graphics/VMWare/Console.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue