drm/exynos: Don't set struct drm_device.irq_enabled
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 25 Jun 2021 08:22:04 +0000 (10:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 29 Jun 2021 09:08:43 +0000 (11:08 +0200)
The field drm_device.irq_enabled is only used by legacy drivers
with userspace modesetting. Don't set it in exynos.

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-10-tzimmermann@suse.de
drivers/gpu/drm/exynos/exynos_drm_drv.c

index e60257f1f24b4c8f3e8da857de34670803c22d63..d8f1cf4d6b692b9f294243eaad48b9857a376365 100644 (file)
@@ -300,16 +300,6 @@ static int exynos_drm_bind(struct device *dev)
 
        drm_mode_config_reset(drm);
 
-       /*
-        * enable drm irq mode.
-        * - with irq_enabled = true, we can use the vblank feature.
-        *
-        * P.S. note that we wouldn't use drm irq handler but
-        *      just specific driver own one instead because
-        *      drm framework supports only one irq handler.
-        */
-       drm->irq_enabled = true;
-
        /* init kms poll for handling hpd */
        drm_kms_helper_poll_init(drm);