[PATCH i-g-t v1 0/3] Add check to ensure platform supports compression
Akshata Jahagirdar
akshata.jahagirdar at intel.com
Tue Mar 26 09:54:35 UTC 2024
Currently, the igt testcases don't have any check to ensure the platform
supports compression (has flat ccs enabled) before running the test.
Add this check by reading the flat_ccs value received from DRM_IOCTL_XE_DEVICE_QUERY
ioctl and proceed accordingly.
KMD-changes patch: https://patchwork.freedesktop.org/series/131595/
Fixes : VLK-56136
Akshata Jahagirdar (2):
lib/intel_blt: Add helper function to ensure platform supports
compression
tests/xe_ccs: Check if platform supports compression
drm-uapi/xe_drm: Read flat ccs value from drm_xe_query_config
include/drm-uapi/xe_drm.h | 3 +++
lib/intel_blt.c | 18 ++++++++++++++++++
lib/intel_blt.h | 1 +
tests/intel/xe_ccs.c | 1 +
4 files changed, 23 insertions(+)
--
2.34.1
More information about the igt-dev
mailing list