I think its batch one, I got it a couple of weeks ago. But I don’t know where the line goes.
I have studied these display issues quite extensively and have pictured the pipeline as well as I could. I have a script that outputs each step like below. I can send the script too if you want to compare.
=== 0. DEVICE ===
release : 5.2.0.17 (Finlayson)
hw : Jolla Jolla Phone 1.0.0.17
kernel : 6.12.38-4k
soc : MT6858
board : k6858v1_64
=== 1. PANEL ===
– loaded panel modules (only one is bound) –
panel_vtdr6126_dphy_vdo_90hz_boe 163840 0
panel_xl_sd5207_dphy_vdo_boe 90112 0
panel_ocp2131_i2c 16384 0
– which driver claimed the DSI device –
panel-vtdr6126-dphy-vdo-90hz-boe <= 1401a000.dsi0.0
– panel candidates in the device tree –
panel1@0: vtdr6126,dphy,vdo
panel2@0: xl,sd5207,dphy,vdo
panel3@1: jdi,nt36672e,vdo,60hz
=== 2. DRM CONNECTOR ===
card0-DSI-1 status=connected enabled=enabled
modes: 1032x2272 / 1032x2272
output_bpc : Maximum: 0
vrr_range : Min: 0 Max: 0
=== 3. VENDOR COLOUR MODES ===
<PQ_modes PQID=“0” Counts=“11” Default=“0”>
ModeID=0 HAL_native native
ModeID=7 HAL_sRGB sRGB
ModeID=9 HAL_displayP3 displayP3
ModeID=3 HAL_HDR displayP3 (hdr)
ModeID=23,24,26,31,33,35,39 VND_* variants
– colour correction matrices (identity = no conversion applied) –
<ccorr_table_0> 0x400 0 0 / 0 0x400 0 / 0 0 0x400
=== 4. COLOUR-RELATED PROPERTIES ===
ro.surface_flinger.has_wide_color_display : true
ro.vendor.mtk_pq_color_mode : 3
ro.vendor.mtk_blulight_def_support : 1
ro.vendor.pq.mtk_aal_support : 1
ro.vendor.pq.mtk_caltm_support : 1
persist.vendor.sys.pq.disp.ccorr.bypass : 0
persist.vendor.sys.pq.disp.gamma.bypass : 0
persist.vendor.sys.pq.disp.color.bypass : 0
persist.vendor.sys.pq.disp.aal.bypass : 0
=== 5. HAL: COMPOSER AND PQ SERVICE ===
2642 /vendor/bin/hw/vendor.mediatek.hardware.pq_aidl-service
3544 /vendor/bin/hw/android.hardware.graphics.composer@3.4-service
5521 /system/bin/hw/android.hardware.graphics.composer@2.1-service (App Support)
– registered services –
android.hardware.graphics.composer3.IComposer/default
vendor.mediatek.hardware.composer_ext.IComposerExt/default
vendor.mediatek.hardware.pq_aidl.IPictureQuality_AIDL/default
– who holds /dev/dri/card0 –
pq_aidl-service (2642), composer@3.4 (3544) [not lipstick]
– colour entry points in the vendor HAL –
hwcomposer.mtk_common.so : getColorModeList, setColorMode,
setColorModeWithRenderIntent,
setColorTransform, getRenderIntents
pq_aidl-impl.so : setColorMode, setColorTransform
=== 6. KERNEL COLOUR BLOCKS ===
ccorr 74, aal 210, gamma 49, dither 60, c3d 85 symbols
=== 7. LIBHYBRIS BRIDGE <<< the gap >>> ===
– C API exported to the compositor (glibc side) –
29 entry points, colour-related: hwc2_compat_layer_set_color only
(that is per-layer solid colour for SolidColor composition, unrelated)
– implementation available underneath (bionic side) –
getColorModes, setColorMode, setColorTransform, getRenderIntents
=== 8. COMPOSITOR ===
qpa plugin colour/dataspace references : 0
Qt libraries querying EGL colourspace : 0
=== 9. EGL / GL CAPABILITY (what the driver could do) ===
EGL_KHR_gl_colorspace
EGL_EXT_pixel_format_float
EGL_EXT_gl_colorspace_display_p3 (+ _linear, _passthrough)
EGL_EXT_gl_colorspace_scrgb (+ _linear)
EGL_EXT_gl_colorspace_bt2020_pq / _hlg / _linear