Fix needing to call igt_display_require() twice to enable writeback output
Get series with b4
b4 am [email protected] change-id 20240215-duplicate-calls-ae33c2a855edVersions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/igt_kms: Enable DRM_CLIENT_CAP_ATOMIC before enabling DRM_CLIENT_CAP_WRITEBACK_CONNECTORSlib/ | +3 | 2 replies | |
| 2/2 | igt: Remove duplicate igt_display_require() callsbenchmarks/ tests/ | +0 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Pekka Paalanen | Kamil Konieczny |
|---|---|---|
| 1/2 | A-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH i-g-t 0/2] Fix needing to call igt_display_require() twice to enable writeback output
After discussing with Pekka Paalanen about needing to call igt_display_require() twice[1], I found the issue.
As stated on the docs[2]. To enable DRM_CLIENT_CAP_WRITEBACK_CONNECTORS, we first need to set DRM_CLIENT_CAP_ATOMIC.
Patch #1 solves the bug and #2 uses the fix where the duplicate call is done. I couldn't run kms_writeback (VKMS already fails on this test and my GPU doesn't have writeback outputs), so please test it.
[1]; https://lore.kernel.org/dri-devel/20240212104330.7de30010@eldfell/
[2]: https://docs.kernel.org/gpu/drm-uapi.html?highlight=writeback#c.DRM_CLIENT_CAP_WRITEBACK_CONNECTORS
Cc: Petri Latvala <[email protected]>
Cc: Arkadiusz Hiler <[email protected]>
Cc: Kamil Konieczny <[email protected]>
Cc: Juha-Pekka Heikkila <[email protected]>
Cc: Bhanuprakash Modem <[email protected]>
Cc: Ashutosh Dixit <[email protected]>
Cc: Pekka Paalanen <[email protected]>
To: [email protected]
---
Arthur Grillo (2):
lib/igt_kms: Enable DRM_CLIENT_CAP_ATOMIC before enabling DRM_CLIENT_CAP_WRITEBACK_CONNECTORS
igt: Remove duplicate igt_display_require() calls
benchmarks/kms_fb_stress.c | 2 -- lib/igt_kms.c | 5 +++-- tests/kms_writeback.c | 1 - 3 files changed, 3 insertions(+), 5 deletions(-)
---
base-commit: 9ee96f431b2baf552e95c9d839cdfbcdae2c8b41
change-id: 20240215-duplicate-calls-ae33c2a855ed
Best regards,
Signature · 1 line
Arthur Grillo <[email protected]>