projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09b85f
)
drm/imx/dcss: Don't set struct drm_device.irq_enabled
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 25 Jun 2021 08:22:07 +0000
(10:22 +0200)
committer
Thomas 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 dcss.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210625082222.3845-13-tzimmermann@suse.de
drivers/gpu/drm/imx/dcss/dcss-kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/dcss/dcss-kms.c
b/drivers/gpu/drm/imx/dcss/dcss-kms.c
index
37ae68a
..
917834b
100644
(file)
--- a/
drivers/gpu/drm/imx/dcss/dcss-kms.c
+++ b/
drivers/gpu/drm/imx/dcss/dcss-kms.c
@@
-133,8
+133,6
@@
struct dcss_kms_dev *dcss_kms_attach(struct dcss_dev *dcss)
if (ret)
goto cleanup_mode_config;
- drm->irq_enabled = true;
-
ret = dcss_kms_bridge_connector_init(kms);
if (ret)
goto cleanup_mode_config;
@@
-178,7
+176,6
@@
void dcss_kms_detach(struct dcss_kms_dev *kms)
drm_kms_helper_poll_fini(drm);
drm_atomic_helper_shutdown(drm);
drm_crtc_vblank_off(&kms->crtc.base);
- drm->irq_enabled = false;
drm_mode_config_cleanup(drm);
dcss_crtc_deinit(&kms->crtc, drm);
drm->dev_private = NULL;