DRM_COLOROP_3D_LUT_DMA colorop tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | lib/drm-uapi: sync drm_mode.h DMA 3D LUT colorop uAPIinclude/ | +79 | 0 replies | |
| 2/10 | lib/igt_kms: add DMA 3D LUT colorop propertieslib/ lib/ | +7 | 0 replies | |
| 3/10 | tests/kms_colorop: share writeback and pixel helperstests/ tests/ tests/ | +150 | 0 replies | |
| 4/10 | tests/kms_colorop: add a DMA 3D LUT colorop testtests/ tests/ tests/ | +146 | 0 replies | |
| 5/10 | tests/kms_colorop_dma: add negative DMA 3D LUT teststests/ tests/ tests/ +1 more | +302 | 0 replies | |
| 6/10 | tests/kms_colorop_dma: test implicit fencing of DMA 3D LUT framebufferstests/ | +288 | 0 replies | |
| 7/10 | tests/kms_colorop_dma: test scanout and DMA 3D LUT implicit fences togethertests/ | +99 | 0 replies | |
| 8/10 | tests/kms_colorop_dma: test a merged in-fence covering DMA 3D LUT producerstests/ | +62 | 0 replies | |
| 9/10 | tests/kms_colorop_dma: exercise DMA 3D LUT framebuffer transitionstests/ | +231 | 0 replies | |
| 10/10 | tests/kms_colorop_dma: test DMA 3D LUT framebuffer removaltests/ | +163 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 00/10] DRM_COLOROP_3D_LUT_DMA colorop tests
Loading a DRM_COLOROP_3D_LUT on AMD HW takes a long time because the driver has to load the entire 3D LUT via register writes.
Starting with DCN 4 the HW has the ability to load a 3D LUT via DMA, which only requires an address update for programming the 3D LUT.
I posted a kernel series to add support for this functionality via a new DRM_COLOROP_3D_LUT_DMA type. Users of the DRM_COLOROP_3D_LUT_DMA will parse the supported formats via the LUT_3D_FORMATS blob property, select the desired format via LUT_3D_FORMAT property, and pass the 3D LUT buffer as a drm_framebuffer via FB_ID on the colorop.
In addition to the naive testing of the new DRM_COLOROP_3D_LUT_DMA this series also introduces a kms_colorop_dma test suite that covers various fence and buffer management tests.
Anyone wanting to give this a spin on Navi 4 will need to use the 3d-fl-fixes kernel branch and the 3d-fl-workaround IGT branch.
### Branches
kernel: https://gitlab.freedesktop.org/hwentland/linux/-/commits/3d-fl
kernel w/ fixes: https://gitlab.freedesktop.org/hwentland/linux/-/commits/3d-fl-fixes
IGT: https://gitlab.freedesktop.org/hwentland/igt-gpu-tools/-/tree/3d-fl
IGT Navi 4 w/a: https://gitlab.freedesktop.org/hwentland/igt-gpu-tools/-/tree/3d-fl-workaround
kwin: https://invent.kde.org/hwentlan/kwin/-/commits/3d-fl
Harry Wentland (10):
lib/drm-uapi: sync drm_mode.h DMA 3D LUT colorop uAPI lib/igt_kms: add DMA 3D LUT colorop properties tests/kms_colorop: share writeback and pixel helpers tests/kms_colorop: add a DMA 3D LUT colorop test tests/kms_colorop_dma: add negative DMA 3D LUT tests tests/kms_colorop_dma: test implicit fencing of DMA 3D LUT
framebuffers
tests/kms_colorop_dma: test scanout and DMA 3D LUT implicit fences
together
tests/kms_colorop_dma: test a merged in-fence covering DMA 3D LUT
producers
tests/kms_colorop_dma: exercise DMA 3D LUT framebuffer transitions tests/kms_colorop_dma: test DMA 3D LUT framebuffer removal
include/drm-uapi/drm_mode.h | 79 +++ lib/igt_kms.c | 5 +- lib/igt_kms.h | 3 + tests/intel-ci/i915.blocklist.txt | 1 + tests/intel-ci/xe.blocklist.txt | 1 + tests/kms_colorop.c | 146 +--- tests/kms_colorop_dma.c | 1103 +++++++++++++++++++++++++++++ tests/kms_colorop_helper.c | 279 ++++++++ tests/kms_colorop_helper.h | 13 + tests/meson.build | 2 + 10 files changed, 1489 insertions(+), 143 deletions(-) create mode 100644 tests/kms_colorop_dma.c
--
2.56.0