[PATCH 0/6] drm/msm: Work only with DT supported kernels

Archit Taneja architt at codeaurora.org
Wed Nov 18 03:19:01 PST 2015


The drm/msm driver supports non-DT kernels. This was used mainly for
getting the driver to run on older downstream kernels (v3.4 and before).
This isn't needed anymore. So remove the CONFIG_OF code.

Also, provide a cleaner set of DT compatible strings for the MDP driver.

The last patch which removes CONFIG_OF checks for adreno is something I'm
not sure about. It can be discarded if it isn't right.

Archit Taneja (6):
  drm/msm: Remove non-DT code in msm_drv
  drm/msm: Update compatible strings for mdp
  dt-bindings: drm/msm: Update MDP bindings
  drm/msm/mdp: Remove CONFIG_OF checks from MDP drivers
  drm/msm/hdmi: remove CONFIG_OF checks
  drm/msm/adreno: Remove CONFIG_OF checks

 .../devicetree/bindings/display/msm/mdp.txt        | 26 +++++--
 drivers/gpu/drm/msm/adreno/adreno_device.c         | 52 -------------
 drivers/gpu/drm/msm/hdmi/hdmi.c                    | 87 ++++------------------
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c            | 20 +----
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c            |  4 +-
 drivers/gpu/drm/msm/msm_drv.c                      | 76 ++++---------------
 drivers/gpu/drm/msm/msm_drv.h                      |  7 +-
 7 files changed, 55 insertions(+), 217 deletions(-)

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



More information about the dri-devel mailing list