diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-25 10:22:13 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-29 11:08:43 +0200 |
commit | 4a4928b0b1d290091ba4e0b884be4d25b3cecf7a (patch) | |
tree | e64b6ab1bf46f291866cee40b97d483a90991634 /drivers/gpu | |
parent | drm/rockchip: Don't set struct drm_device.irq_enabled (diff) | |
download | linux-4a4928b0b1d290091ba4e0b884be4d25b3cecf7a.tar.xz linux-4a4928b0b1d290091ba4e0b884be4d25b3cecf7a.zip |
drm/sti: 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 sti.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210625082222.3845-19-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/sti/sti_compositor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sti/sti_compositor.c b/drivers/gpu/drm/sti/sti_compositor.c index 319962a2c17b..9caaf3ccfabe 100644 --- a/drivers/gpu/drm/sti/sti_compositor.c +++ b/drivers/gpu/drm/sti/sti_compositor.c @@ -145,8 +145,6 @@ static int sti_compositor_bind(struct device *dev, } drm_vblank_init(drm_dev, crtc_id); - /* Allow usage of vblank without having to call drm_irq_install */ - drm_dev->irq_enabled = 1; return 0; } |