diff options
author | Matt Roper <[email protected]> | 2023-08-11 09:06:10 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:40:25 -0500 |
commit | be6dd3c8e884f7b1a9f76c3ad1efd068b981f7d5 (patch) | |
tree | 1ea8d6d019758dcb16f3ecba7466d71ec504de48 | |
parent | 53497182ddf7a98fc33049d51ac3692c2f8097da (diff) |
drm/xe/xe2: AuxCCS is no longer used
Starting with Xe2, all platforms (including igpu platforms) use FlatCCS
compression rather than AuxCCS. Similar to PVC, any future platforms
that don't support FlatCCS should not attempt to fall back to AuxCCS
programming.
Signed-off-by: Matt Roper <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Balasubramani Vivekanandan <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
-rw-r--r-- | drivers/gpu/drm/xe/xe_ring_ops.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_ring_ops.c b/drivers/gpu/drm/xe/xe_ring_ops.c index 36058600e231..9e23293ec4d3 100644 --- a/drivers/gpu/drm/xe/xe_ring_ops.c +++ b/drivers/gpu/drm/xe/xe_ring_ops.c @@ -243,9 +243,11 @@ static bool has_aux_ccs(struct xe_device *xe) { /* * PVC is a special case that has no compression of either type - * (FlatCCS or AuxCCS). + * (FlatCCS or AuxCCS). Also, AuxCCS is no longer used from Xe2 + * onward, so any future platforms with no FlatCCS will not have + * AuxCCS either. */ - if (xe->info.platform == XE_PVC) + if (GRAPHICS_VER(xe) >= 20 || xe->info.platform == XE_PVC) return false; return !xe->info.has_flat_ccs; |