[PATCH v4 0/3] Cleanup excessive DSI host controller version checks

From: Sibi Sankar
Date: Tue May 29 2018 - 10:20:53 EST


This patch series aims to create and bind dsi host controller helper
functions to functionalities that vary across DSI v2, DSI 6G 1.x and
DSI 6G v2.0+ controllers. These functionalities are currently under
excessive version checks which is now replaced with the corresponding
helper function.

V4:
None (seems like the unbalanced mutex unlock is already
fixed now)

V3:
Removed redundant mode checks in calc_clk_rate_6g/v2
Removed dev->struct_mutex unlock in tx_buf_alloc_6g
Use msm_gem_kernel_new in tx_buf_alloc_6g
Modified author to first name/last name format

Reviewed-by: Archit Taneja <architt@xxxxxxxxxxxxxx>

V2:
Removes command broadcast support for DSI 6G v2.0+ controllers from
the patch series and incorporates all the suggested corrections

Sibi Sankar (3):
drm/msm/dsi: add dsi host helper functions support
drm/msm/dsi: add implementation for helper functions
drm/msm/dsi: replace version checks with helper functions

drivers/gpu/drm/msm/dsi/dsi.h | 16 ++
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 56 ++++-
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 12 +
drivers/gpu/drm/msm/dsi/dsi_host.c | 355 ++++++++++++++++-------------
4 files changed, 268 insertions(+), 171 deletions(-)

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