Skip to content

Fix Night Light staying enabled in the morning#463

Open
chadmed wants to merge 2 commits intoAsahiLinux:asahi-wipfrom
chadmed:ctm-fix
Open

Fix Night Light staying enabled in the morning#463
chadmed wants to merge 2 commits intoAsahiLinux:asahi-wipfrom
chadmed:ctm-fix

Conversation

@chadmed
Copy link
Member

@chadmed chadmed commented Mar 2, 2026

No description provided.

chadmed added 2 commits March 2, 2026 21:15
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Some clients will clear/free the CTM property blob rather than set it
explicitly to the identity matrix. Since we were checking for a valid CTM
blob, this was resulting in a misconfigured colour management pipeline.
This was most noticeable when using kwin's Night Light feature, specifically
when waking the display after the morning transition was supposed to
happen. Despite triggering a colour management change on CRTC enable,
kwin clearing the CTM blob meant that there was nothing for us to passs
in to IOMFB to set DCP's internal CTM.

Explicitly pass the identity matrix to IOMFB if we have a pending
colour management change and no CTM blob.

Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant