From: Thomas Zimmermann Date: Fri, 25 Jun 2021 08:22:16 +0000 (+0200) Subject: drm/tegra: Don't set struct drm_device.irq_enabled X-Git-Tag: v5.15-rc1~148^2~23^2~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14746211570b4e368d2027a77ff8372722136a5c;p=thirdparty%2Fkernel%2Flinux.git drm/tegra: 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 tegra. Signed-off-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart Acked-by: Thierry Reding Acked-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20210625082222.3845-22-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index f96c237b22426..8d27c21ddf48a 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c @@ -1188,13 +1188,6 @@ static int host1x_drm_probe(struct host1x_device *dev) goto device; } - /* - * We don't use the drm_irq_install() helpers provided by the DRM - * core, so we need to set this manually in order to allow the - * DRM_IOCTL_WAIT_VBLANK to operate correctly. - */ - drm->irq_enabled = true; - /* syncpoints are used for full 32-bit hardware VBLANK counters */ drm->max_vblank_count = 0xffffffff;