Skip to content

misc DCP/DPTX fixes#248

Merged
marcan merged 8 commits intoAsahiLinux:bits/200-dcpfrom
jannau:bits/200-dcp
Dec 13, 2023
Merged

misc DCP/DPTX fixes#248
marcan merged 8 commits intoAsahiLinux:bits/200-dcpfrom
jannau:bits/200-dcp

Conversation

@jannau
Copy link
Copy Markdown
Member

@jannau jannau commented Dec 11, 2023

  • report panel brightness via backlight_device:get_brightness with 13.5 FW
  • replace random large timeout after dptx_connect with completion
  • Prefer RGB color modes, avoid 12-bit modes
  • parse display attributes for Macbook Pro 14/16-inch HDMI out
  • adjust log messages/levels

Signed-off-by: Janne Grunau <j@jannau.net>
Should make connect more reliable by avoiding hardcoded waits which are
either to long or too short. In the second case the display can't be
brought up since dcp fails to report any modes during start.

Signed-off-by: Janne Grunau <j@jannau.net>
DCP color mode scoring seems to prefer high bit depth color modes even
when it it would require DSC. For example 12-bit 4k 60 Hz YCbCr 4:4:4
over a 600 MHz HDMI 2.0 link.
Prefer 8-/10-bit RGB or YCbCr 4:4:4 modes if available.

Signed-off-by: Janne Grunau <j@jannau.net>
Fixes missing physical display dimensions for HDMI display on Macbook
Pros.

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Janne Grunau <j@jannau.net>
The payload is not necessarily epic_std_service_ap_call. The powerlog
service on the system endpoint passes serialized dictionaries as
payload.

Signed-off-by: Janne Grunau <j@jannau.net>
The 13.5 firmware has stopped updating the NITS property on backlight
brightness changes. Parse system log events instead which report
backlight's brightness in millinits.
Fixes the backlight device's "actual_brightness" property used by the
systemd backlight service to save and restore brightness.

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

2 participants