Skip to content

drm/apple: unit-test the external HDR brightness hints - #1820

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
smallfixes/iomfb-hdr-hints-selftest
Nov 13, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
smallfixes/iomfb-hdr-hints-selftest

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Split the two IOMFB parameters sent to an external display after a mode set (3 = 1.0, and 6 = 1.0 for an SDR colour mode or 2.0 for a PQ one, all 16.16) out of dcp_external_hdr_hints() into iomfb_external_hdr_hint_values() so the values can be checked without a DCP, and add a KUnit case for the SDR and PQ cases. No functional change: the parameters sent are identical.

KUnit (arm64, apple.kunitconfig): iomfb_external_hdr_hints 2/2 passed.

Split the two IOMFB parameters sent to an external display after a mode
set (3 = 1.0, and 6 = 1.0 for an SDR colour mode or 2.0 for a PQ one, all
16.16) out of dcp_external_hdr_hints() into iomfb_external_hdr_hint_values()
so the values can be checked without a DCP, and add a KUnit case for the
SDR and PQ cases. No functional change: the parameters sent are identical.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit 10dca1d into integration/aurora Nov 13, 2026
1 check passed
@RyanTheTide
RyanTheTide deleted the smallfixes/iomfb-hdr-hints-selftest branch November 13, 2026 12:45
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