mbox series

[0/9] Qualcomm DRM DPU fixes

Message ID 20210109133736.143469-1-angelogioacchino.delregno@somainline.org
Headers show
Series Qualcomm DRM DPU fixes | expand

Message

AngeloGioacchino Del Regno Jan. 9, 2021, 1:37 p.m. UTC
This patch series brings some fixes to the Qualcomm DPU driver, aim is
to get it prepared for "legacy" SoCs (like MSM8998, SDM630/660) and to
finally get command-mode displays working on this driver.

The series was tested against MSM8998 (the commit that introduces it to
the hw-catalog is not included in this series, as it needs to be cleaned
up a little more) and specifically on:
- Sony Xperia XZ Premium (MSM8998), 4K dual-dsi LCD display, command-mode
- F(x)Tec Pro1 (MSM8998), single-dsi OLED display, video-mode

... And it obviously worked just perfect!

AngeloGioacchino Del Regno (9):
  drm/msm/dpu: Fix VBIF_XINL_QOS_LVL_REMAP_000 register offset
  drm/msm/dpu1: Move DPU_SSPP_QOS_8LVL bit to SDM845 and SC7180 masks
  drm/msm/dpu1: Add prog_fetch_lines_worst_case to INTF_BLK macro
  drm/msm/dpu1: Allow specifying features and sblk in DSPP_BLK macro
  drm/msm/dpu: Disable autorefresh in command mode
  drm/msm/dpu: Correctly configure vsync tearcheck for command mode
  drm/msm/dpu: Remove unused call in wait_for_commit_done
  drm/msm/dpu: Add a function to retrieve the current CTL status
  drm/msm/dpu: Fix timeout issues on command mode panels

 .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c  | 91 ++++++++++++++++---
 .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    | 39 ++++----
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c    |  6 ++
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h    |  7 ++
 .../gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c   | 26 ++++++
 .../gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h   | 14 +++
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c   |  9 +-
 7 files changed, 155 insertions(+), 37 deletions(-)