diff options
author | Liu Ying <gnuiyl@gmail.com> | 2016-07-08 05:40:56 -0400 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-07-12 12:23:51 -0400 |
commit | 255c35f8fe6a9c345320e512c681c03678f3e0b4 (patch) | |
tree | c5062294416afa3e89f06163fc5fe4decdd8e064 /drivers/gpu/drm/imx/imx-drm-core.c | |
parent | 33f14235302f561b1db713c1bd8111a512bf2568 (diff) |
drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and ->destroy
Wire up CRTCs', planes' and connectors' ->reset, ->duplicate and ->destroy state
hooks to use the default implementations from the atomic helper library.
The helpers track each DRM object state.
Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 7746418a4c08..b5a5173b05af 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c | |||
@@ -279,6 +279,8 @@ static int imx_drm_driver_load(struct drm_device *drm, unsigned long flags) | |||
279 | } | 279 | } |
280 | } | 280 | } |
281 | 281 | ||
282 | drm_mode_config_reset(drm); | ||
283 | |||
282 | /* | 284 | /* |
283 | * All components are now initialised, so setup the fb helper. | 285 | * All components are now initialised, so setup the fb helper. |
284 | * The fb helper takes copies of key hardware information, so the | 286 | * The fb helper takes copies of key hardware information, so the |