diff options
author | Hai Li <hali@codeaurora.org> | 2015-04-23 14:13:21 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-05-14 16:56:42 -0400 |
commit | 6f6b287968681f660e151c202765da9f58d3dcba (patch) | |
tree | 7a5cfbf66ce196ca999e853ba6b6d6629e49b184 /drivers/gpu/drm/msm/edp | |
parent | 13f15565f7887a028b3442bbd763ff6d07b48479 (diff) | |
download | op-kernel-dev-6f6b287968681f660e151c202765da9f58d3dcba.zip op-kernel-dev-6f6b287968681f660e151c202765da9f58d3dcba.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/msm/edp')
-rw-r--r-- | drivers/gpu/drm/msm/edp/edp_connector.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/edp/edp_connector.c b/drivers/gpu/drm/msm/edp/edp_connector.c index d8812e8..b4d1b46 100644 --- a/drivers/gpu/drm/msm/edp/edp_connector.c +++ b/drivers/gpu/drm/msm/edp/edp_connector.c @@ -151,6 +151,8 @@ struct drm_connector *msm_edp_connector_init(struct msm_edp *edp) if (ret) goto fail; + drm_mode_connector_attach_encoder(connector, edp->encoder); + return connector; fail: |