[DPU PATCH v2 0/2] Add hardware catalog information in driver source for SDM845

Sravanthi Kollukuduru skolluku at codeaurora.org
Thu Mar 29 10:29:23 UTC 2018


This patch series aims at adding the target specific hardware
catalog information in driver source.
As a result, the current logic of dt based parsing is removed.

The DT clean up patch corresponding to this driver change will
be posted separately.

[V2]
  * Addressed Rob Herring's comment to update the commit message.

  * Addressed Sean's comment to restructure the catalog data in
    a way that different hardware versions can reuse.
    - Removed the target specific catalog file and moved the
      initialization logic to the main catalog file.
      Updated the driver patch title to reflect the same.
    - Added config handler structure to define the mapping between
      the hardware versions read from the register and the respective
      config init functions.
    - Added new structures for various sub blocks of the dpu driver
      and also, for any common configuration shared by the different
      blocks.

Sravanthi Kollukuduru (2):
  dt-bindings: msm/disp: Remove hw block offset DT entries for SDM845
  drm/msm: Add hardware catalog data in driver source for SDM845

 .../devicetree/bindings/display/msm/dpu.txt        |  530 ---
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c           |   17 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c        |    5 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c     | 3542 +++-----------------
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h     |  124 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c        |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c         |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c          |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c            |    5 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c          |   24 +-
 10 files changed, 636 insertions(+), 3617 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project



More information about the dri-devel mailing list