- 31 10月, 2016 1 次提交
-
-
由 Brian Starkey 提交于
Connectors shouldn't be registered until the rest of the whole device is set up, so that consistent state is presented to userspace. As such, remove the calls to drm_connector_register() and drm_connector_unregister() from tda998x, as these are now handled by drm_dev_(un)register() itself. To work with this change, the mali-dp and hdlcd bind and unbind sequences have to be reordered, to ensure that the componentised encoder/connector is bound before drm_dev_register() registers all connectors. Similarly, the device must be unregistered before the component is unbound. Altogether, this allows other drivers using tda998x to be de-midlayered, and to have less racy initialisation of their components. Splitting this commit into three (one per driver) isn't possible without intermediate breakage, so it is all squashed together here. Suggested-by: NRussell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: NBrian Starkey <brian.starkey@arm.com> Reviewed-by: NLiviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
-
- 28 7月, 2016 2 次提交
-
-
由 Wei Yongjun 提交于
Fix to return error code -EINVAL from the error handling case instead of 0, as done elsewhere in this function. Fixes: 3c31760e ('drm/arm: mali-dp: Set crtc.port to the port instead of the endpoint') Signed-off-by: NWei Yongjun <weiyj.lk@gmail.com> Acked-by: NBrian Starkey <brian.starkey@arm.com> Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1469672066-13401-1-git-send-email-weiyj.lk@gmail.com
-
由 Wei Yongjun 提交于
There is a error message within devm_ioremap_resource already, so remove the DRM_ERROR call to avoid redundant error message. Signed-off-by: NWei Yongjun <weiyj.lk@gmail.com> Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1469671753-12961-1-git-send-email-weiyj.lk@gmail.com
-
- 27 7月, 2016 1 次提交
-
-
由 Brian Starkey 提交于
The CRTC's port pointer was being set to the endpoint node instead of the port. Fix that, and hold a reference on the port node. Signed-off-by: NBrian Starkey <brian.starkey@arm.com> Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: NSean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1469549725-19577-1-git-send-email-brian.starkey@arm.com
-
- 16 6月, 2016 1 次提交
-
-
由 Liviu Dudau 提交于
Add support for the new family of Display Processors from ARM Ltd. This commit adds basic support for Mali DP500, DP550 and DP650 parts, with only the display engine being supported at the moment. Cc: David Brown <David.Brown@arm.com> Cc: Brian Starkey <Brian.Starkey@arm.com> Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com> Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
-