1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

Kernel/IntelGraphics: Move PLL handling code to a different file

Dealing with the specific details of how to program a PLL should be done
in a separate file to ensure we can easily expand it to support future
generations of the Intel graphics device.
This commit is contained in:
Liav A 2023-02-03 11:40:42 +02:00 committed by Andrew Kaster
parent 9eab59c42b
commit ac4829cc50
5 changed files with 146 additions and 107 deletions

View file

@ -75,8 +75,6 @@ private:
void disable_dac_output();
void enable_dac_output();
Optional<IntelGraphics::PLLSettings> create_pll_settings(u64 target_frequency, u64 reference_clock, IntelGraphics::PLLMaxSettings const&);
Spinlock<LockRank::None> m_control_lock;
Spinlock<LockRank::None> m_modeset_lock;
mutable Spinlock<LockRank::None> m_registers_lock;