diff options
author | Archit Taneja <architt@codeaurora.org> | 2017-01-16 08:55:38 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-02-06 19:28:43 +0300 |
commit | b3a94705a0362fad1b25d559c3e0dd4433038f9e (patch) | |
tree | a82e0e0c83ac268856234f3eac12945db83f5d3b /drivers/gpu/drm/msm/adreno | |
parent | df8a71d2b22ffcecf4df6c07486a8baa5a49870a (diff) | |
download | linux-b3a94705a0362fad1b25d559c3e0dd4433038f9e.tar.xz |
drm/msm/mdp5: Create single encoder per interface (INTF)
For the DSI interfaces, the mdp5_kms core creates 2 encoders for video
and command modes.
Create only a single encoder per interface. When creating the encoder, set
the interface type to MDP5_INTF_MODE_NONE. It's the bridge (DSI/HDMI/eDP)
driver's responsibility to set a different interface type. It can use the
the kms func op set_encoder_mode to change the mode of operation, which
in turn would configure the interface type for the INTF.
In mdp5_cmd_encoder.c, we remove the redundant code, and make the commmand
mode funcs as helpers that are used in mdp5_encoder.c
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno')
0 files changed, 0 insertions, 0 deletions