[PATCH 0/2] drm/msm/dpu: Support different number of DSC

From: Jun Nie
Date: Wed Oct 09 2024 - 02:39:35 EST


If DSC is enabled, the only case is with 2 DSC engines so far. And
DSC in all pipes are configured by default.

More usage case will be added, such as 4 DSC in 4:4:2 topoplogy.
Pipe number is extended in future to support quad-pipe. But only
some of 4 pipes are used in non quad-pipe. So number of DSC is
not aligned with maximum pipes.

Thus we support DSC flexiblely with this patch set with storing
the number and configuring DSC with it.

Signed-off-by: Jun Nie <jun.nie@xxxxxxxxxx>
---
Jun Nie (2):
drm/msm/dpu: Do not fix number of DSC
drm/msm/dpu: configure DSC per number in use

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 2 ++
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 18 +++++++++++-------
2 files changed, 13 insertions(+), 7 deletions(-)
---
base-commit: 6fc951e4d05d152cfc3c4442cc4e304c927dbf5e
change-id: 20241009-sm8650-v6-11-hmd-pocf-mdss-quad-upstream-20-94e7e3969089

Best regards,
--
Jun Nie <jun.nie@xxxxxxxxxx>