diff options
author | Archit Taneja <architt@codeaurora.org> | 2017-01-16 09:42:03 +0530 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-02-06 11:28:43 -0500 |
commit | 97e00119534bf3c9f47c4eae0b7dd982ef2de92b (patch) | |
tree | 374747a0ccfbb085a31288c7cdc8f33a932d1db6 /drivers/gpu/drm/msm/dsi/dsi.h | |
parent | 0bb70b82c2f91e4667f3c617505235efd6d77e46 (diff) | |
download | linux-stable-97e00119534bf3c9f47c4eae0b7dd982ef2de92b.tar.gz linux-stable-97e00119534bf3c9f47c4eae0b7dd982ef2de92b.tar.bz2 linux-stable-97e00119534bf3c9f47c4eae0b7dd982ef2de92b.zip |
drm/msm: Construct only one encoder for DSI
We currently create 2 encoders for DSI interfaces, one for command
mode and other for video mode operation. This isn't needed as we
can't really use both the encoders at the same time. It also makes
connecting bridges harder.
Switch to creating a single encoder. For now, we assume that the
encoder is configured only in video mode. Later, the same encoder
would be usable in both modes.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi.h')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi.h b/drivers/gpu/drm/msm/dsi/dsi.h index 03f115f532c2..ddcda8cec9a7 100644 --- a/drivers/gpu/drm/msm/dsi/dsi.h +++ b/drivers/gpu/drm/msm/dsi/dsi.h @@ -73,8 +73,8 @@ struct msm_dsi { struct device *phy_dev; bool phy_enabled; - /* the encoders we are hooked to (outside of dsi block) */ - struct drm_encoder *encoders[MSM_DSI_ENCODER_NUM]; + /* the encoder we are hooked to (outside of dsi block) */ + struct drm_encoder *encoder; int id; }; |