Skip to content

lib/igt_fb/tgl+: Remove CCS FB layout restrictions

Imre Deak igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/igt_fb/adlp: Remove CCS FB stride alignment restrictionslib/igt_fb.c lib/intel_aux_pgtable.c+11 -810 replies
2/4lib/igt_fb/tgl+: Prevent CCS FB UV surface offset overalignmentlib/igt_fb.c+51 -03 replies
3/4lib/igt_fb/tgl+: Remove CCS FB 4 tile height alignment restrictionlib/igt_fb.c lib/intel_bufops.c+2 -60 replies
4/4lib/igt_fb/tgl+: Prevent CCS FB AUX surface size overalignmentlib/igt_fb.c+2 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJuha-Pekka Heikkila
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/4] lib/igt_fb/tgl+: Remove CCS FB layout restrictions

Some restrictions on the stride, offset and size of TGL+ CCS FB surfaces are not something the HW requires, so this patchset removes those.

On ADLP this also removes the main and CCS AUX stride restriction required by the CCS modifier uAPI, making the uAPI of ADLP identical to that of TGL.

Because of the uAPI change above the CI results for this patchset are only valid with the corresponding kernel changes which I'll submit later adding a reference to this one, so the two are tested together.

I tested these changes with the kernel upcoming kernel patchset on SKL/TGL/ADLP.

Imre Deak (4):
lib/igt_fb/adlp: Remove CCS FB stride alignment restrictions lib/igt_fb/tgl+: Prevent CCS FB UV surface offset overalignment lib/igt_fb/tgl+: Remove CCS FB 4 tile height alignment restriction lib/igt_fb/tgl+: Prevent CCS FB AUX surface size overalignment

 lib/igt_fb.c            | 87 +++++++++++++++++++++++++++--------------
 lib/intel_aux_pgtable.c | 66 ++++---------------------------
 lib/intel_bufops.c      |  2 +-
 3 files changed, 66 insertions(+), 89 deletions(-)
Signature · 1 line
2.27.0