Skip to content

lib/igt_kms: Reset leftover color state

Gil Dekel igt-dev 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Apologies for the over-engineered v1 bloat from agent-assisted drafting; reuse plane_resources from igt_display_require() and build one drmModeAtomicReq inline in Patch 1/2 without temporary arrays.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_kms: Reset leftover COLOR_PIPELINElib/igt_kms.c+68 -00 replies
2/2lib/igt_kms: Reset connector Colorspacelib/igt_kms.c lib/igt_kms.h+7 -00 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] lib/igt_kms: Reset leftover color state

A KMS client that exits without cleaning up can leave plane color pipelines and connector colorimetry set, and IGT inherits that state without always being able to see it. Patch 1 resets COLOR_PIPELINE to Bypass even for tests that never enable the color pipeline client cap. Patch 2 resets the connector Colorspace property to Default.

v2:
- Apologies for the over-engineered v1 bloat from agent-assisted drafting; reuse plane_resources from igt_display_require() and build one drmModeAtomicReq inline in Patch 1/2 without temporary arrays.

Cc Melissa Wen <[email protected]>
Cc Chaitanya Kumar Borah <[email protected]>
Cc Swati Sharma <[email protected]>
Cc Mark Yacoub <[email protected]>

Gil Dekel (2):
lib/igt_kms: Reset leftover COLOR_PIPELINE
lib/igt_kms: Reset connector Colorspace

 lib/igt_kms.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h |  1 +
 2 files changed, 75 insertions(+)
Signature · 1 line
Gil Dekel, Software Engineer, Google / ChromeOS Display and Graphics