From 31feae1c21998032491c9fe6539e5f339b275e64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Fri, 17 Jan 2020 10:30:03 +0200 Subject: [PATCH] isl/gen12: add reminder comment about missing WA with 3D surfaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Tested-by: Marge Bot Part-of: --- src/intel/isl/isl.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 54feaec6212..2e26bb02168 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -1980,6 +1980,19 @@ isl_surf_get_ccs_surf(const struct isl_device *dev, return false; } + /* GEN:BUG:1207137018 + * + * TODO: implement following workaround currently covered by the restriction + * above. If following conditions are met: + * + * - RENDER_SURFACE_STATE.Surface Type == 3D + * - RENDER_SURFACE_STATE.Auxiliary Surface Mode != AUX_NONE + * - RENDER_SURFACE_STATE.Tiled ResourceMode is TYF or TYS + * + * Set the value of RENDER_SURFACE_STATE.Mip Tail Start LOD to a mip that + * larger than those present in the surface (i.e. 15) + */ + /* TODO: More conditions where it can fail. */ /* From the Ivy Bridge PRM, Vol2 Part1 11.7 "MCS Buffer for Render -- 2.30.2