drm/msm: dsi: Handle dual-channel for 6G as well
authorSean Paul <seanpaul@chromium.org>
Wed, 25 Jul 2018 20:34:45 +0000 (16:34 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:50:12 +0000 (08:50 -0400)
commita6bcddbc2ee1b2797fce016775b9e3faf17a4d0e
treebb2f1fbe5121a13672342783d5cf98695c231c0a
parent41a8e8865a82b4fd4ff62b43b7c6d3bc5831f93d
drm/msm: dsi: Handle dual-channel for 6G as well

This fixes up a collision between introducing dual-channel support and
the dsi refactors. This patch applies the same dual-channel
considerations and pclk calculations to both v2 and 6G, with a bit of
abstracting for good measure.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c