diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-25 10:22:14 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-29 15:40:45 +0200 |
commit | aa2fcf12178a3e2cecd251fdf0cd17a713b83125 (patch) | |
tree | 459cfaac7ebd78d3902161994cfde3337b9ba787 /drivers/gpu/drm/stm | |
parent | 4a4928b0b1d290091ba4e0b884be4d25b3cecf7a (diff) | |
download | linux-aa2fcf12178a3e2cecd251fdf0cd17a713b83125.tar.gz linux-aa2fcf12178a3e2cecd251fdf0cd17a713b83125.tar.bz2 linux-aa2fcf12178a3e2cecd251fdf0cd17a713b83125.zip |
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: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Yannick Fertre <yannick.fertre@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210625082222.3845-20-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/stm')
-rw-r--r-- | drivers/gpu/drm/stm/ltdc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 0a6f0239a9f8..1f9392fb58e1 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -1338,9 +1338,6 @@ int ltdc_load(struct drm_device *ddev) goto err; } - /* Allow usage of vblank without having to call drm_irq_install */ - ddev->irq_enabled = 1; - clk_disable_unprepare(ldev->pixel_clk); pinctrl_pm_select_sleep_state(ddev->dev); |