[PATCH v1 0/4] Add display support for SC7280 target

Krishna Manikandan mkrishn at codeaurora.org
Tue Apr 6 05:09:48 UTC 2021


The changes in this series adds all the required support for display driver for
SC7280 target. In addition to the basic catalog changes, changes are added to
accommodate new registers for SC7280 target.

SC7280 target comes under next generation targets. The register differences in
SC7280 when compared to SC7180 are mentioned below:

        - SC7280 uses UBWC3.0 and changes are added to program the ubwc static
          registers properly

        - Pingpong dither block offset value has changed for SC7280 family. Separate
          sub block is defined for sc7280 pingpong block and changes are added to
          handle this.

        - Interface offsets are different for SC7280 family. These offset values are
          used to access the interface irq registers. Changes are added to handle
          this based on the target.

        - A new register called CTL_FETCH_PIPE_ACTIVE is introduced in SC7280 family,
          which tells the HW about the active pipes in the CTL path. Changes are
          added to program this register based on the active pipes in the
          current composition.

        - Changes are added to program INTF_CONFIG2 properly since the reset value
          of this register has changed in SC7280 family and we need to explicitly program
          it with correct values to avoid wrong interface configuration.

        - INTF_5 is added to intf configuration to support EDP.

Krishna Manikandan (4):
  drm/msm/disp/dpu1: add support for display for SC7280 target
  drm/msm/disp/dpu1: add intf offsets for SC7280 target
  drm/msm/disp/dpu1: add support to program fetch active in ctl path
  drm/msm/disp/dpu1: enable DATA_HCTL_EN for sc7280 target

 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c          |   7 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    | 176 ++++++++++++++++++++--
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h    |   8 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c        |  27 ++++
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h        |   3 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c |  20 ++-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c       |  11 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c           |   4 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c          |   6 +-
 drivers/gpu/drm/msm/msm_drv.c                     |   4 +-
 10 files changed, 242 insertions(+), 24 deletions(-)

-- 
2.7.4



More information about the dri-devel mailing list