mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:57:34 +00:00
Kernel/IntelGraphics: Move pipe management to the Transcoder class
It became apparent to me that future generations of the Intel graphics chipset utilize the same register set as part of the Transcoder register set. Therefore, it should be included now in the Transcoder class.
This commit is contained in:
parent
2def16a3d2
commit
8042ae43c3
7 changed files with 95 additions and 122 deletions
|
@ -60,8 +60,6 @@ private:
|
|||
StringView convert_analog_output_register_to_string(AnalogOutputRegisterOffset index) const;
|
||||
void write_to_analog_output_register(AnalogOutputRegisterOffset, u32 value);
|
||||
u32 read_from_analog_output_register(AnalogOutputRegisterOffset) const;
|
||||
u32 read_from_global_generation_register(IntelGraphics::GlobalGenerationRegister index) const;
|
||||
void write_to_global_generation_register(IntelGraphics::GlobalGenerationRegister index, u32 value);
|
||||
void write_to_general_register(RegisterOffset offset, u32 value);
|
||||
u32 read_from_general_register(RegisterOffset offset) const;
|
||||
|
||||
|
@ -71,8 +69,6 @@ private:
|
|||
|
||||
// General Modesetting methods
|
||||
ErrorOr<void> set_gen4_mode_setting(IntelNativeDisplayConnector&, DisplayConnector::ModeSetting const&);
|
||||
bool pipe_a_enabled() const;
|
||||
bool pipe_b_enabled() const;
|
||||
|
||||
bool set_crt_resolution(DisplayConnector::ModeSetting const&);
|
||||
|
||||
|
@ -82,15 +78,6 @@ private:
|
|||
void disable_dac_output();
|
||||
void enable_dac_output();
|
||||
|
||||
void disable_pipe_a();
|
||||
void disable_pipe_b();
|
||||
|
||||
void enable_pipe_a();
|
||||
|
||||
bool wait_for_enabled_pipe_a(size_t milliseconds_timeout) const;
|
||||
bool wait_for_disabled_pipe_a(size_t milliseconds_timeout) const;
|
||||
bool wait_for_disabled_pipe_b(size_t milliseconds_timeout) const;
|
||||
|
||||
Optional<IntelGraphics::PLLSettings> create_pll_settings(u64 target_frequency, u64 reference_clock, IntelGraphics::PLLMaxSettings const&);
|
||||
|
||||
Spinlock<LockRank::None> m_control_lock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue