drm/i915/gen9: Add WaClearHIZ_WM_CHICKEN3 for bxt and glk
authorMichel Thierry <michel.thierry@intel.com>
Mon, 14 May 2018 16:54:45 +0000 (09:54 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 16 May 2018 08:21:09 +0000 (11:21 +0300)
commitb579f924a90f42fa561afd8201514fc216b71949
treec409de148b4de786b5a7ca3ae29ec6bf7ffe3d0b
parentcd078bf95df29d827daca0274a9a13821c11eedb
drm/i915/gen9: Add WaClearHIZ_WM_CHICKEN3 for bxt and glk

Factor in clear values wherever required while updating destination
min/max.

References: HSDES#1604444184
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Cc: mesa-dev@lists.freedesktop.org
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180510200708.18097-1-michel.thierry@intel.com
Cc: stable@vger.kernel.org
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180514165445.9198-1-michel.thierry@intel.com
(backported from commit 0c79f9cb77eae28d48a4f9fc1b3341aacbbd260c)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_engine_cs.c