[PATCH 0/4] Enable ccs compressed framebuffers on Xe2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

v3: Small changes. Changed pat index annotation code author for
Matthew as it was cut'n'paste from review comment.

Juha-Pekka Heikkila (3):
  drm/xe: add bind time pat index to xe_bo structure
  drm/xe/xe2: Limit ccs framebuffers to tile4 only
  drm/i915/display: On Xe2 always enable decompression with tile4

Matthew Auld (1):
  drm/xe/pat: annotate pat index table with compression info

 .../drm/i915/display/skl_universal_plane.c    |  5 ++++
 drivers/gpu/drm/xe/display/xe_fb_pin.c        | 23 +++++++++++++++++++
 drivers/gpu/drm/xe/xe_bo_types.h              | 12 ++++++++++
 drivers/gpu/drm/xe/xe_pat.c                   |  9 +++++++-
 drivers/gpu/drm/xe/xe_pat.h                   | 14 +++++++++++
 drivers/gpu/drm/xe/xe_pt.c                    | 22 ++++++++++++++----
 6 files changed, 80 insertions(+), 5 deletions(-)

-- 
2.25.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux