class DisplayPll
Defined at line 68 of file ../../src/graphics/display/drivers/intel-display/dpll.h
Manages a PLL (Phase-Locked Loop circuit) that serves as a DDI clock source.
This is an abstract base class. Subclasses implement the configuration
protocols, which are specific to each type of PLL.
Public Methods
void ~DisplayPll ()
Defined at line 70 of file ../../src/graphics/display/drivers/intel-display/dpll.h
void DisplayPll (const DisplayPll & )
Defined at line 72 of file ../../src/graphics/display/drivers/intel-display/dpll.h
void DisplayPll (DisplayPll && )
Defined at line 73 of file ../../src/graphics/display/drivers/intel-display/dpll.h
DisplayPll & operator= (const DisplayPll & )
Defined at line 74 of file ../../src/graphics/display/drivers/intel-display/dpll.h
DisplayPll & operator= (DisplayPll && )
Defined at line 75 of file ../../src/graphics/display/drivers/intel-display/dpll.h
const std::string & name ()
Defined at line 95 of file ../../src/graphics/display/drivers/intel-display/dpll.h
PllId pll_id ()
Defined at line 96 of file ../../src/graphics/display/drivers/intel-display/dpll.h
const DdiPllConfig & config ()
The configuration that the PLL is locked to.
Returns an empty configuration if the PLL is disabled.
Defined at line 101 of file ../../src/graphics/display/drivers/intel-display/dpll.h
bool Enable (const DdiPllConfig & pll_config)
Configures this PLL and waits for it to lock.
Returns true if the PLL is locked to the desired configuration. Returns
false if something went wrong.
`pll_config` must be valid.
This method is not idempotent. The PLL must not already be enabled.
Defined at line 122 of file ../../src/graphics/display/drivers/intel-display/dpll.cc
bool Disable ()
Disables this PLL. Also powers off the PLL, if possible.
The PLL must not be used as a clock source by any of the powered-up DDIs.
This method is not idempotent. The PLL must be locked to a configuration
by a successful Enable() call.
Defined at line 153 of file ../../src/graphics/display/drivers/intel-display/dpll.cc
Protected Methods
void DisplayPll (PllId pll_id)
Defined at line 74 of file ../../src/graphics/display/drivers/intel-display/dpll.cc
bool DoEnable (const DdiPllConfig & pll_config)
Same API as `Enable()`.
Implementations can assume that logging and state updating are taken care
of, and focus on the register-level configuration.
bool DoDisable ()
Same API as `Disable()`.
Implementations can assume that logging and state updating are taken care
of, and focus on the register-level configuration.
void set_config (const DdiPllConfig & config)
See `config()` for details.
Defined at line 119 of file ../../src/graphics/display/drivers/intel-display/dpll.h