mbox series

[0/4] Enable ccs compressed framebuffers on Xe2

Message ID 20240118152745.162960-1-juhapekka.heikkila@gmail.com (mailing list archive)
Headers show
Series Enable ccs compressed framebuffers on Xe2 | expand

Message

Juha-Pekka Heikkila Jan. 18, 2024, 3:27 p.m. UTC
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.

Juha-Pekka Heikkila (4):
  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

 .../gpu/drm/i915/display/skl_universal_plane.c  |  5 +++++
 drivers/gpu/drm/xe/display/xe_fb_pin.c          | 17 +++++++++++++++++
 drivers/gpu/drm/xe/xe_bo_types.h                |  6 ++++++
 drivers/gpu/drm/xe/xe_pt.c                      |  4 ++++
 4 files changed, 32 insertions(+)