Skip to content

RFC: Add preferred FB modifier helper

Jeevan B igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 3 repliesIn review
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_fb: Add IGT_FORMAT_MOD_PREFERRED helper modifierlib/igt_fb.c lib/igt_fb.h+89 -10 replies
2/2HAX: kms_cursor_legacy: Use IGT_FORMAT_MOD_PREFERRED for cursor FBstests/kms_cursor_legacy.c+16 -153 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH i-g-t v2 0/2] RFC: Add preferred FB modifier helper

Add an IGT‑internal modifier, IGT_FORMAT_MOD_PREFERRED, allowing tests to request the preferred tiling format without hardcoding driver‑specific modifiers.

A follow‑up HAX patch updates kms_cursor_legacy to use this modifier for cursor framebuffer creation to exercise the new code paths.

Jeevan B (2):
lib/igt_fb: Add IGT_FORMAT_MOD_PREFERRED helper modifier
HAX: kms_cursor_legacy: Use IGT_FORMAT_MOD_PREFERRED for cursor FBs

 lib/igt_fb.c              | 71 ++++++++++++++++++++++++++++++++++++++-
 lib/igt_fb.h              | 19 +++++++++++
 tests/kms_cursor_legacy.c | 31 ++++++++---------
 3 files changed, 105 insertions(+), 16 deletions(-)
Signature · 1 line
2.43.0