Mesa (master): isl/gen12: add reminder comment about missing WA with 3D surfaces

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 20 06:31:41 UTC 2020


Module: Mesa
Branch: master
Commit: 31feae1c21998032491c9fe6539e5f339b275e64
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31feae1c21998032491c9fe6539e5f339b275e64

Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Fri Jan 17 10:30:03 2020 +0200

isl/gen12: add reminder comment about missing WA with 3D surfaces

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3441>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3441>

---

 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



More information about the mesa-commit mailing list