mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel/isl: disable TILE64 for YCRCB formats
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21723>
This commit is contained in:
parent
fad9c69e42
commit
5fdbc4a23e
1 changed files with 7 additions and 0 deletions
|
|
@ -74,6 +74,13 @@ isl_gfx125_filter_tiling(const struct isl_device *dev,
|
|||
if (info->dim != ISL_SURF_DIM_2D)
|
||||
*flags &= ~ISL_TILING_64_BIT;
|
||||
|
||||
/* TILE64 does not work with YCRCB formats, according to bspec 58767:
|
||||
* "Packed YUV surface formats such as YCRCB_NORMAL, YCRCB_SWAPUVY etc.
|
||||
* will not support as Tile64"
|
||||
*/
|
||||
if (isl_format_is_yuv(info->format))
|
||||
*flags &= ~ISL_TILING_64_BIT;
|
||||
|
||||
/* From RENDER_SURFACE_STATE::NumberofMultisamples,
|
||||
*
|
||||
* This field must not be programmed to anything other than
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue