Message ID | 20210625082222.3845-6-tzimmermann@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Deprecate struct drm_device.irq_enabled | expand |
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); >
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);
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(-)