intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Enable ccs compressed framebuffers on Xe2
@ 2024-01-18 15:27 Juha-Pekka Heikkila
  2024-01-18 15:27 ` [PATCH 1/4] drm/xe: add bind time pat index to xe_bo structure Juha-Pekka Heikkila
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Juha-Pekka Heikkila @ 2024-01-18 15:27 UTC (permalink / raw)
  To: intel-xe, intel-gfx

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(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/4] Enable ccs compressed framebuffers on Xe2
@ 2024-01-30 19:36 Juha-Pekka Heikkila
  2024-01-30 19:36 ` [PATCH 3/4] drm/xe/xe2: Limit ccs framebuffers to tile4 only Juha-Pekka Heikkila
  0 siblings, 1 reply; 21+ messages in thread
From: Juha-Pekka Heikkila @ 2024-01-30 19:36 UTC (permalink / raw)
  To: intel-xe, intel-gfx

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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-01-31 12:09 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18 15:27 [PATCH 0/4] Enable ccs compressed framebuffers on Xe2 Juha-Pekka Heikkila
2024-01-18 15:27 ` [PATCH 1/4] drm/xe: add bind time pat index to xe_bo structure Juha-Pekka Heikkila
2024-01-18 15:27 ` [PATCH 2/4] drm/xe: store bind time pat index to xe_bo Juha-Pekka Heikkila
2024-01-19 15:45   ` Matthew Auld
2024-01-22 18:26     ` Juha-Pekka Heikkila
2024-01-23 12:59       ` Matthew Auld
2024-01-23  8:05     ` Ville Syrjälä
2024-01-23  9:17       ` Matthew Auld
2024-01-18 15:27 ` [PATCH 3/4] drm/xe/xe2: Limit ccs framebuffers to tile4 only Juha-Pekka Heikkila
2024-01-19 11:48   ` Jani Nikula
2024-01-19 12:08     ` Juha-Pekka Heikkila
2024-01-19 15:22   ` Matthew Auld
2024-01-22 18:27     ` Juha-Pekka Heikkila
2024-01-18 15:27 ` [PATCH 4/4] drm/i915/display: On Xe2 always enable decompression with tile4 Juha-Pekka Heikkila
2024-01-19 12:15   ` Kahola, Mika
2024-01-18 22:45 ` ✗ Fi.CI.BAT: failure for Enable ccs compressed framebuffers on Xe2 Patchwork
2024-01-19  8:57 ` ✓ Fi.CI.BAT: success for Enable ccs compressed framebuffers on Xe2 (rev2) Patchwork
2024-01-19 13:34 ` ✗ Fi.CI.IGT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-01-30 19:36 [PATCH 0/4] Enable ccs compressed framebuffers on Xe2 Juha-Pekka Heikkila
2024-01-30 19:36 ` [PATCH 3/4] drm/xe/xe2: Limit ccs framebuffers to tile4 only Juha-Pekka Heikkila
2024-01-31 11:40   ` Ville Syrjälä
2024-01-31 12:09     ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).