mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add DSC v1.2 Support for DSI
@ 2023-05-05 21:23 Jessica Zhang
  2023-05-05 21:23 ` [PATCH v2 1/4] drm/msm/dsi: Adjust pclk rate for compression Jessica Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 26+ messages in thread
From: Jessica Zhang @ 2023-05-05 21:23 UTC (permalink / raw)
  To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
	David Airlie, Daniel Vetter, Marijn Suijten
  Cc: Konrad Dybcio, linux-arm-msm, dri-devel, freedreno, linux-kernel,
	Jessica Zhang

This is a series of changes for DSI to enable command mode support
for DSC v1.2.

This includes:

1) Adjusting pclk_rate to account for compression
2) Fixing the word count calculation for DSC
3) Setting the DATA_COMPRESS bit when DSC is enabled

With these changes (and the dependency below), DSC v1.2 should work over
DSI in command mode.

Note: Changes that add DSC v1.2 support for video mode will be posted
with the DP support changes.

Depends-on: "add DSC 1.2 dpu supports" [1] and "Introduce MSM-specific
DSC helpers" [2]

[1] https://patchwork.freedesktop.org/series/116789/
[2] https://patchwork.freedesktop.org/series/115833/

Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
---
Changes in v2:
- Changed pclk math to only divide hdisplay by compression ratio
- Reworded word count TODO comment
- Make DATA_COMPRESS an INTF flag
- Read INTF_CFG2 before setting DATA_COMRPESS register
- Reworded commit messages and cover letter for clarity
- Link to v1: https://lore.kernel.org/r/20230405-add-dsc-support-v1-0-6bc6f03ae735@quicinc.com

---
Jessica Zhang (4):
      drm/msm/dsi: Adjust pclk rate for compression
      drm/msm/dsi: Fix compressed word count calculation
      drm/msm/dpu: Add DPU_INTF_DATA_COMPRESS feature flag
      drm/msm/dpu: Set DATA_COMPRESS for command mode

 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c   |  3 +++
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c     |  2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h     |  2 ++
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c        | 11 +++++++++
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h        |  2 ++
 drivers/gpu/drm/msm/dsi/dsi_host.c                 | 26 +++++++++++++++++-----
 6 files changed, 40 insertions(+), 6 deletions(-)
---
base-commit: 70e08302e024bfac485b12972099237f7f39d829
change-id: 20230405-add-dsc-support-fe130ba49841

Best regards,
-- 
Jessica Zhang <quic_jesszhan@quicinc.com>


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-05-19 21:21 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05 21:23 [PATCH v2 0/4] Add DSC v1.2 Support for DSI Jessica Zhang
2023-05-05 21:23 ` [PATCH v2 1/4] drm/msm/dsi: Adjust pclk rate for compression Jessica Zhang
2023-05-05 21:49   ` Jessica Zhang
2023-05-08 21:56     ` Marijn Suijten
2023-05-19 19:04       ` Jessica Zhang
2023-05-19 21:20         ` Marijn Suijten
2023-05-05 21:23 ` [PATCH v2 2/4] drm/msm/dsi: Fix compressed word count calculation Jessica Zhang
2023-05-05 21:23 ` [PATCH v2 3/4] drm/msm/dpu: Add DPU_INTF_DATA_COMPRESS feature flag Jessica Zhang
2023-05-07 16:00   ` Marijn Suijten
2023-05-07 19:21     ` Dmitry Baryshkov
2023-05-08 21:47       ` Marijn Suijten
2023-05-08  8:36     ` Konrad Dybcio
2023-05-08 21:53       ` Marijn Suijten
2023-05-08 21:46     ` Jessica Zhang
2023-05-08 21:50       ` Marijn Suijten
2023-05-08 23:08       ` Dmitry Baryshkov
2023-05-09  0:28         ` Abhinav Kumar
2023-05-09  0:48           ` Dmitry Baryshkov
2023-05-09  6:59         ` Marijn Suijten
2023-05-09 11:12           ` Dmitry Baryshkov
2023-05-05 21:23 ` [PATCH v2 4/4] drm/msm/dpu: Set DATA_COMPRESS for command mode Jessica Zhang
2023-05-07 16:06   ` Marijn Suijten
2023-05-08 23:17     ` Jessica Zhang
2023-05-09  0:00       ` [Freedreno] " Jessica Zhang
2023-05-09  6:49         ` Marijn Suijten
2023-05-09  6:46       ` Marijn Suijten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®