From 90b223331f1a5b2d787fce4b9e470f83552774fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Tue, 16 Apr 2024 07:43:32 -0700 Subject: [PATCH] intel/dev: Add compressed PAT entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will be used in Xe2+ to store images compressed in memory. Still missing add the compressed PAT index and attributes to LNL intel_device_info. Reviewed-by: Rohan Garg Signed-off-by: José Roberto de Souza Part-of: --- src/intel/dev/intel_device_info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/dev/intel_device_info.py b/src/intel/dev/intel_device_info.py index 7a7b25cfb09..64345ae64c4 100644 --- a/src/intel/dev/intel_device_info.py +++ b/src/intel/dev/intel_device_info.py @@ -229,6 +229,9 @@ Struct("intel_device_info_pat_desc", Member("intel_device_info_pat_entry", "scanout", comment="scanout and external BOs"), + Member("intel_device_info_pat_entry", "compressed", + comment="Only supported in Xe2, compressed + WC"), + Member("intel_device_info_pat_entry", "writeback_incoherent", comment=("BOs without special needs, can be WB not coherent " "or WC it depends on the platforms and KMD")),