diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-01-12 05:01:12 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-01-12 05:01:12 -0500 |
commit | 1f16f116b01c110db20ab808562c8b8bc3ee3d6e (patch) | |
tree | 44db563f64cf5f8d62af8f99a61e2b248c44ea3a /drivers/gpu/drm/imx/imx-drm-core.c | |
parent | 03724ac3d48f8f0e3caf1d30fa134f8fd96c94e2 (diff) | |
parent | f9eccf24615672896dc13251410c3f2f33a14f95 (diff) |
Merge branches 'clockevents/4.4-fixes' and 'clockevents/4.5-fixes' of http://git.linaro.org/people/daniel.lezcano/linux into timers/urgent
Pull in fixes from Daniel Lezcano:
- Fix the vt8500 timer leading to a system lock up when dealing with too
small delta (Roman Volkov)
- Select the CLKSRC_MMIO when the fsl_ftm_timer is enabled with COMPILE_TEST
(Daniel Lezcano)
- Prevent to compile timers using the 'iomem' API when the architecture has
not HAS_IOMEM set (Richard Weinberger)
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 64f16ea779ef..7b990b4e96d2 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c | |||
@@ -63,8 +63,7 @@ static void imx_drm_driver_lastclose(struct drm_device *drm) | |||
63 | #if IS_ENABLED(CONFIG_DRM_IMX_FB_HELPER) | 63 | #if IS_ENABLED(CONFIG_DRM_IMX_FB_HELPER) |
64 | struct imx_drm_device *imxdrm = drm->dev_private; | 64 | struct imx_drm_device *imxdrm = drm->dev_private; |
65 | 65 | ||
66 | if (imxdrm->fbhelper) | 66 | drm_fbdev_cma_restore_mode(imxdrm->fbhelper); |
67 | drm_fbdev_cma_restore_mode(imxdrm->fbhelper); | ||
68 | #endif | 67 | #endif |
69 | } | 68 | } |
70 | 69 | ||
@@ -340,7 +339,7 @@ err_kms: | |||
340 | * imx_drm_add_crtc - add a new crtc | 339 | * imx_drm_add_crtc - add a new crtc |
341 | */ | 340 | */ |
342 | int imx_drm_add_crtc(struct drm_device *drm, struct drm_crtc *crtc, | 341 | int imx_drm_add_crtc(struct drm_device *drm, struct drm_crtc *crtc, |
343 | struct imx_drm_crtc **new_crtc, | 342 | struct imx_drm_crtc **new_crtc, struct drm_plane *primary_plane, |
344 | const struct imx_drm_crtc_helper_funcs *imx_drm_helper_funcs, | 343 | const struct imx_drm_crtc_helper_funcs *imx_drm_helper_funcs, |
345 | struct device_node *port) | 344 | struct device_node *port) |
346 | { | 345 | { |
@@ -379,7 +378,7 @@ int imx_drm_add_crtc(struct drm_device *drm, struct drm_crtc *crtc, | |||
379 | drm_crtc_helper_add(crtc, | 378 | drm_crtc_helper_add(crtc, |
380 | imx_drm_crtc->imx_drm_helper_funcs.crtc_helper_funcs); | 379 | imx_drm_crtc->imx_drm_helper_funcs.crtc_helper_funcs); |
381 | 380 | ||
382 | drm_crtc_init(drm, crtc, | 381 | drm_crtc_init_with_planes(drm, crtc, primary_plane, NULL, |
383 | imx_drm_crtc->imx_drm_helper_funcs.crtc_funcs); | 382 | imx_drm_crtc->imx_drm_helper_funcs.crtc_funcs); |
384 | 383 | ||
385 | return 0; | 384 | return 0; |