Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCP updates 2022-12-11 #89

Merged
merged 9 commits into from Dec 12, 2022
Merged

Conversation

jannau
Copy link
Member

@jannau jannau commented Dec 11, 2022

  • improved color mode parsing, reject HDR color modes, should fix color representation in some cases
  • color/timing mode tracing, to help debug mode/color related issues
  • re-add support for ARGB2101010
  • firmware (compat) version check fix
  • add module parameter to show the full display height on macbooks with notch

Make the version check less stupid, only check the compat version and
parse the actual version just to report it in error cases.

Signed-off-by: Janne Grunau <j@jannau.net>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Janne Grunau <j@jannau.net>
Selecting the mode with the highest score may result in HDR mode for
some displays. Since HDR is not support on driver side this produces
an unexpected color representation.
Full parsing allows us to reject virtual color modes (should already be
invalid due to missing "Score").
Preparation for color and timing mode tracing.

Signed-off-by: Janne Grunau <j@jannau.net>
Prevents trace points of unused color modes.

Signed-off-by: Janne Grunau <j@jannau.net>
Restrict symbol mapping for EOTF, pixel encoding and colorimetry to
tracing due to low confidence that it is correct. Main concern is the
colorimetry mapping.

Signed-off-by: Janne Grunau <j@jannau.net>
DCP best scored color mode might result in an HDR mode. As long as the
driver (and DRM) is not ready for HDR try to avoid such modes.

Signed-off-by: Janne Grunau <j@jannau.net>
Probably not important but avoids an unnecessary difference compred to
macOS.

Signed-off-by: Janne Grunau <j@jannau.net>
Seems to work now with 'surface.colorspace = 12'.

Signed-off-by: Janne Grunau <j@jannau.net>
Can be used on devices with camera notch to use the full display height
and thus show the notch.

Signed-off-by: Janne Grunau <j@jannau.net>
@marcan marcan merged commit 6286178 into AsahiLinux:bits/200-dcp Dec 12, 2022
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.

None yet

2 participants