[PATCH v2] drm/msm/dpu: Fall back to a single DSC encoder (1:1:1) on small SoCs
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Feb 27 04:37:31 UTC 2025
On Wed, 22 Jan 2025 17:23:44 +0100, Marijn Suijten wrote:
> Some SoCs such as SC7280 (used in the Fairphone 5) have only a single
> DSC "hard slice" encoder. The current hardcoded use of 2:2:1 topology
> (2 LM and 2 DSC for a single interface) make it impossible to use
> Display Stream Compression panels with mainline, which is exactly what's
> installed on the Fairphone 5.
>
> By loosening the hardcoded `num_dsc = 2` to fall back to `num_dsc =
> 1` when the catalog only contains one entry, we can trivially support
> this phone and unblock further panel enablement on mainline. A few
> more supporting changes in this patch ensure hardcoded constants of 2
> DSC encoders are replaced to count or read back the actual number of
> DSC hardware blocks that are enabled for the given virtual encoder.
> Likewise DSC_MODE_SPLIT_PANEL can no longer be unconditionally enabled.
>
> [...]
Applied, thanks!
[1/1] drm/msm/dpu: Fall back to a single DSC encoder (1:1:1) on small SoCs
https://gitlab.freedesktop.org/lumag/msm/-/commit/b6090ffb30f3
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
More information about the Freedreno
mailing list