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

Thomas Zimmermann tzimmermann at suse.de
Sun Jun 27 23:23:33 PDT 2021



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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20210628/bc015c97/attachment.sig>


More information about the Linux-rockchip mailing list