diff options
author | 2021-06-25 10:22:05 +0200 | |
---|---|---|
committer | 2021-06-29 11:08:43 +0200 | |
commit | 6a940c4da6726476019999bc8ab78d442876c959 (patch) | |
tree | 0a90e2b6df4e0504a5e1712a808e4f92ceb1b8b8 /drivers/gpu/drm/hisilicon | |
parent | drm/exynos: Don't set struct drm_device.irq_enabled (diff) | |
download | linux-6a940c4da6726476019999bc8ab78d442876c959.tar.gz linux-6a940c4da6726476019999bc8ab78d442876c959.tar.bz2 linux-6a940c4da6726476019999bc8ab78d442876c959.zip |
drm/kirin: 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 kirin.
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-11-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/hisilicon')
-rw-r--r-- | drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c index e590e19db657..98ae9a48f3fe 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c @@ -185,8 +185,6 @@ static int kirin_drm_kms_init(struct drm_device *dev, DRM_ERROR("failed to initialize vblank.\n"); goto err_unbind_all; } - /* with irq_enabled = true, we can use the vblank feature. */ - dev->irq_enabled = true; /* reset all the states of crtc/plane/encoder/connector */ drm_mode_config_reset(dev); |