intel/isl: Add Wa_22011186057 to disable CCS on ADL GT2 A0

Cc: mesa-stable
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9465>
This commit is contained in:
Jordan Justen 2020-12-10 01:42:12 -08:00 committed by Marge Bot
parent e1d74c9cfd
commit 89f3312625
2 changed files with 9 additions and 0 deletions

View file

@ -1971,6 +1971,11 @@ isl_surf_supports_ccs(const struct isl_device *dev,
if (ISL_GFX_VER(dev) <= 6)
return false;
/* Wa_22011186057: Disable compression on ADL-P A0 */
if (dev->info->is_alderlake && dev->info->gt == 2 &&
dev->info->revision == 0)
return false;
if (surf->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)
return false;

View file

@ -858,6 +858,10 @@ bool
isl_format_supports_ccs_e(const struct intel_device_info *devinfo,
enum isl_format format)
{
/* Wa_22011186057: Disable compression on ADL-P A0 */
if (devinfo->is_alderlake && devinfo->gt == 2 && devinfo->revision == 0)
return false;
if (!format_info_exists(format))
return false;