This series adds support for the RGB101010 (30bpp) pixel format used by some newer panels.
Tested on the BOE BF068MWM-TD0 panel (10 bit DSC) on the Nothing Phone (3a). Signed-off-by: Alexander Koskovich <[email protected]> --- Changes in v5: - Add comment & warning about RGB101010 support in compression_en && !wide_bus_en case - Move RGB101010 check further down so it has access to msm_dsi_host_is_wide_bus_enabled() - Use default case for meson_dw_mipi_dsi pixel format switchs - Link to v4: https://lore.kernel.org/r/[email protected] Changes in v4: - Dropped dpu_encoder_phys_vid patch - Needs further discussion and rest of these changes can be independent of that - Pick back up dropped drm_mipi_dsi.h patch (oops) - Fix meson driver warning from adding RGB101010 to drm_mipi_dsi.h - msm_dsi_host_version_ge -> msm_dsi_host_version_geq - Fix msm_dsi_host_version_geq to handle major > major - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - Fix typo for MSM8998 DSI version name (V2_2 -> V_2_0) - Add msm_dsi_host_version_is_gt per Konrad and use for RGB101010 check - Fix up comment & commit message for video mode DSC INTF timing width change per Neil/Konrad - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Only allow RGB101010 if MSM_DSI_6G_VER >= V2.1.0 - Link to v1: https://lore.kernel.org/r/[email protected] --- Alexander Koskovich (5): drm/mipi-dsi: add RGB101010 pixel format drm/meson: use default case for unsupported DSI pixel formats drm/msm/dsi: rename MSM8998 DSI version from V2_2_0 to V2_0_0 drm/msm/dsi: add DSI version >= comparison helper drm/msm/dsi: Add support for RGB101010 pixel format drivers/gpu/drm/meson/meson_dw_mipi_dsi.c | 6 ++--- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 4 ++-- drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 +- drivers/gpu/drm/msm/dsi/dsi_host.c | 34 +++++++++++++++++++++++++-- drivers/gpu/drm/msm/registers/display/dsi.xml | 5 +++- include/drm/drm_mipi_dsi.h | 4 ++++ 6 files changed, 45 insertions(+), 10 deletions(-) --- base-commit: f338e77383789c0cae23ca3d48adcc5e9e137e3c change-id: 20260318-dsi-rgb101010-support-4956b1cd8657 Best regards, -- Alexander Koskovich <[email protected]>
