drm/msm: Attach assigned encoder to eDP and DSI connectors
authorHai Li <hali@codeaurora.org>
Thu, 23 Apr 2015 18:13:21 +0000 (14:13 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 14 May 2015 20:56:42 +0000 (16:56 -0400)
commit6f6b287968681f660e151c202765da9f58d3dcba
tree7a5cfbf66ce196ca999e853ba6b6d6629e49b184
parent13f15565f7887a028b3442bbd763ff6d07b48479
drm/msm: Attach assigned encoder to eDP and DSI connectors

drm_mode_connector_attach_encoder() function call is missing
during eDP and DSI connector initialization. As a result,
no encoder is returned by DRM_IOCTL_MODE_GETCONNECTOR system
call. This change is to fix this issue.

Signed-off-by: Hai Li <hali@codeaurora.org>
drivers/gpu/drm/msm/dsi/dsi.c
drivers/gpu/drm/msm/dsi/dsi_manager.c
drivers/gpu/drm/msm/edp/edp_connector.c