class PipeScalerCoefficientIndex
Defined at line 603 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h
PS_COEF_INDEX (Pipe Scaler Programmable Coefficient Index)
See PipeScalerCoefficientData class for the representation of scaler
coefficients.
This register is used together with PipeScalerCoefficientData to read / write
the value of the coefficients. Before writing to the data register, software
must set the initial index value (and optionally enable auto-increment)
first.
The coefficient data arrays are double buffered. Writing to the index / data
register will update the buffered value, and writing to
`PipeScalerWindowSize` will trigger the double buffering arm so that the
buffered values will be applied at the start of the next vertical blank.
This register's reserved fields are all MBZ (must be zero). So, this register
can be safely written without reading it first.
Helper class `PipeScalerCoefficients` can be used to read from / write to
the whole coefficient array.
This register is available in Tiger Lake only.
Tiger Lake: IHD-OS-TGL-Vol 2c-1.22-Rev 2.0 Part 2, Pages 995-997
Public Members
field_RsvdZ_608
field_index_auto_increment_enabled_613
field_RsvdZ_615
field_index_raw_619
static const uint32_t kBaseAddr
Public Methods
template <, >
typename SelfType::ValueType index_auto_increment_enabled ()
Enables auto increment feature of the index register. If it is enabled,
the index value will automatically increment by 1 every time
PipeScalerCoefficientData register is read or written.
Defined at line 613 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h
template <, >
SelfType & set_index_auto_increment_enabled (typename SelfType::ValueType val)
Enables auto increment feature of the index register. If it is enabled,
the index value will automatically increment by 1 every time
PipeScalerCoefficientData register is read or written.
Defined at line 613 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h
template <, >
typename SelfType::ValueType index_raw ()
The index value used to read / write data registers.
The index value must be between [0, 59] (inclusive).
Defined at line 619 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h
template <, >
SelfType & set_index_raw (typename SelfType::ValueType val)
The index value used to read / write data registers.
The index value must be between [0, 59] (inclusive).
Defined at line 619 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h
PipeScalerCoefficientIndex & set_index (int index)
Defined at line 620 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h