class PipeScalerWindowSize

Defined at line 1112 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h

PS_WIN_SZ (Pipe Scaler Window Size)

The scaler outputs the scaled contents to the scaler window, a rectangular

region specified by `PipeScalerWindowPosition` and `PipeScalerWindowSize`

on the output surface.

This register specifies the size of the scaler window. "x" and "y" are

relative to the display device, thus rotation / flipping of planes and pipe

doesn't affect the order of x and y.

This register and `PipeScalerWindowPosition` must be set so that the whole

scaler window is within the output surface; see documentation of

`PipeScalerWindowPosition` for the details of the constraints.

This register is double buffered. Writing to this register will trigger

double buffering arms to this register and all the other Pipe Scaler control

registers so that they are updated at the start of the next vertical blank.

So this register must be written at the end of all the pipe scaler

configuration procedures.

This register's reserved fields are all MBZ (must be zero). So, this register

can be safely written without reading it first.

Tiger Lake: IHD-OS-TGL-Vol 2c-1.22-Rev 2.0 Part 2, Pages 1023-1024

Kaby Lake: IHD-OS-KBL-Vol 2c-1.17 Part 2, Pages 664-665

Public Members

 field_RsvdZ_1116
 field_x_size_1123
 field_RsvdZ_1125
 field_y_size_1131
static const uint32_t kBaseAddr

Public Methods

template <, >
SelfType & set_x_size (typename SelfType::ValueType val)

Horizontal (x) size of the rectangular area.

Must not exceed 5120 for unjoined pipes and 7680 / #(joined pipes) for

joined pipes.

Must be even for planar YUV planes / pipes.

Defined at line 1123 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h

template <, >
typename SelfType::ValueType x_size ()

Horizontal (x) size of the rectangular area.

Must not exceed 5120 for unjoined pipes and 7680 / #(joined pipes) for

joined pipes.

Must be even for planar YUV planes / pipes.

Defined at line 1123 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h

template <, >
SelfType & set_y_size (typename SelfType::ValueType val)

Vertical (y) size of the rectangular area.

Must not exceed 4096 for unjoined pipes and 4320 for joined pipes.

Must be even for planar YUV planes / pipes, or for interlaced output.

Defined at line 1131 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h

template <, >
typename SelfType::ValueType y_size ()

Vertical (y) size of the rectangular area.

Must not exceed 4096 for unjoined pipes and 4320 for joined pipes.

Must be even for planar YUV planes / pipes, or for interlaced output.

Defined at line 1131 of file ../../src/graphics/display/drivers/intel-display/registers-pipe-scaler.h

Records