diff mbox series

[v4,05/27] drm/armada: Don't set struct drm_device.irq_enabled

Message ID 20210625082222.3845-6-tzimmermann@suse.de
State New
Headers show
Series Deprecate struct drm_device.irq_enabled | expand

Commit Message

Thomas Zimmermann June 25, 2021, 8:22 a.m. UTC
The field drm_device.irq_enabled is only used by legacy drivers
with userspace modesetting. Don't set it in armada.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/armada/armada_drv.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Thomas Zimmermann June 28, 2021, 6:23 a.m. UTC | #1
Am 25.06.21 um 10:22 schrieb Thomas Zimmermann:
> The field drm_device.irq_enabled is only used by legacy drivers

> with userspace modesetting. Don't set it in armada.

> 

> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>


R-b'ed by Laurent via IRC

> ---

>   drivers/gpu/drm/armada/armada_drv.c | 2 --

>   1 file changed, 2 deletions(-)

> 

> diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c

> index dab0a1f0983b..4a64f1b9ec4d 100644

> --- a/drivers/gpu/drm/armada/armada_drv.c

> +++ b/drivers/gpu/drm/armada/armada_drv.c

> @@ -130,8 +130,6 @@ static int armada_drm_bind(struct device *dev)

>   	if (ret)

>   		goto err_comp;

>   

> -	priv->drm.irq_enabled = true;

> -

>   	drm_mode_config_reset(&priv->drm);

>   

>   	ret = armada_fbdev_init(&priv->drm);

> 


-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
diff mbox series

Patch

diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c
index dab0a1f0983b..4a64f1b9ec4d 100644
--- a/drivers/gpu/drm/armada/armada_drv.c
+++ b/drivers/gpu/drm/armada/armada_drv.c
@@ -130,8 +130,6 @@  static int armada_drm_bind(struct device *dev)
 	if (ret)
 		goto err_comp;
 
-	priv->drm.irq_enabled = true;
-
 	drm_mode_config_reset(&priv->drm);
 
 	ret = armada_fbdev_init(&priv->drm);