[Media common][PDVT-SH] Add VP VEBOX+SFC TileB surface format support
* [Media common][PDVT-SH] Add VP VEBOX+SFC TileB surface format support
Add TileB (4KB-tile) surface format support to the VP VEBOX+SFC pipeline.
WHAT:
- GMM allocation: DeriveGmmPara (both OS allocation entry points) now requests
the TileB layout via the GMM layout identifier, shares the Tile4 geometry,
and clears all compression flags for TileB surfaces (TileB is never
compressed). Gated on the FtrTileB SKU feature and the forced/unset tile
mode.
- HW tile mapping: mhw sfc and vebox MosGetHWTileType map MOS_TILE_B to HW
tile mode 2.
- SKU gate: VpUserFeatureControlExt::IsTileBEnabled returns true only when the
FtrTileB SKU feature is set; the base class returns false.
- Policy: GetCSCExecutionCaps forces RenderNeeded=0 for TileB surfaces so
pipeline selection falls to VEBOX/SFC only (the render/FC path is out of
scope for TileB); SFC rotation now accepts MOS_TILE_B alongside MOS_TILE_Y.
- ULTs: add unit tests for the policy CSC TileB gating, the mos
graphicsresource TileB allocation path, and the vp pipeline adapter.
WHY:
- Enable VEBOX+SFC processing of TileB-formatted surfaces on the target
platform (FtrTileB SKU) while keeping the render/FC path out of scope, and
lock the new behavior with unit tests.
5 files changed