[PATCH 0/5] Enable ccs compressed framebuffers on Xe2
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Fri Jan 26 21:08:02 UTC 2024
This patch set touches Xe and i915 drivers. On i915 is checked if
running on Xe2 hardware and enable framebuffer ccs decompression
unconditionally for tile4 framebuffers. On Xe driver with Xe2
hardware check if ccs compression is in use and behave accordingly;
attempt to use ccs with linear and x-tiled framebuffers will result
in -EINVAL as display does support decompression only on tile4.
v2: Add compressed flag into pat index table and use that. Try to
avoid situation where framebuffer can be bound with different
pat index after it was pinned.
Juha-Pekka Heikkila (5):
drm/xe/pat: annotate pat index table with compression information
drm/xe: add bind time pat index to xe_bo structure
drm/xe: store bind time pat index to xe_bo
drm/xe/xe2: Limit ccs framebuffers to tile4 only
drm/i915/display: On Xe2 always enable decompression with tile4
.../drm/i915/display/skl_universal_plane.c | 5 ++++
drivers/gpu/drm/xe/display/xe_fb_pin.c | 19 +++++++++++++++
drivers/gpu/drm/xe/xe_bo_types.h | 11 +++++++++
drivers/gpu/drm/xe/xe_pat.c | 9 +++++++-
drivers/gpu/drm/xe/xe_pat.h | 8 +++++++
drivers/gpu/drm/xe/xe_pt.c | 23 +++++++++++++++----
6 files changed, 70 insertions(+), 5 deletions(-)
--
2.25.1
More information about the Intel-gfx
mailing list