Commit aa2fcf12 authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/stm: Don't set struct drm_device.irq_enabled

The field drm_device.irq_enabled is only used by legacy drivers
with userspace modesetting. Don't set it in stm.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: default avatarYannick Fertre <yannick.fertre@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210625082222.3845-20-tzimmermann@suse.de
parent 4a4928b0
...@@ -1338,9 +1338,6 @@ int ltdc_load(struct drm_device *ddev) ...@@ -1338,9 +1338,6 @@ int ltdc_load(struct drm_device *ddev)
goto err; goto err;
} }
/* Allow usage of vblank without having to call drm_irq_install */
ddev->irq_enabled = 1;
clk_disable_unprepare(ldev->pixel_clk); clk_disable_unprepare(ldev->pixel_clk);
pinctrl_pm_select_sleep_state(ddev->dev); pinctrl_pm_select_sleep_state(ddev->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment