mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +01:00
intel/isl: Drop extra devinfo checks for CCS support
These checks are done in isl_format_supports_ccs_*. Since isl_surf_supports_ccs calls these functions, it doesn't need to check them itself. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14082>
This commit is contained in:
parent
99b320fc68
commit
0733266706
1 changed files with 0 additions and 9 deletions
|
|
@ -2121,15 +2121,6 @@ isl_surf_supports_ccs(const struct isl_device *dev,
|
|||
const struct isl_surf *surf,
|
||||
const struct isl_surf *hiz_or_mcs_surf)
|
||||
{
|
||||
/* CCS support does not exist prior to Gfx7 */
|
||||
if (ISL_GFX_VER(dev) <= 6)
|
||||
return false;
|
||||
|
||||
/* Wa_22011186057: Disable compression on ADL-P A0 */
|
||||
if (dev->info->platform == INTEL_PLATFORM_ADL && dev->info->gt == 2 &&
|
||||
dev->info->revision == 0)
|
||||
return false;
|
||||
|
||||
if (surf->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue