mbox series

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

Message ID 20241009-sm8650-v6-11-hmd-pocf-mdss-quad-upstream-20-v1-0-139511076a9f@linaro.org
Headers show
Series drm/msm/dpu: Support different number of DSC | expand

Message

Jun Nie Oct. 9, 2024, 6:38 a.m. UTC
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@linaro.org>
---
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,