[PATCH 1/2] drm/tidss: Drop extra drm_mode_config_reset() call

Tomi Valkeinen posted 2 patches 4 weeks ago
There is a newer version of this series
[PATCH 1/2] drm/tidss: Drop extra drm_mode_config_reset() call
Posted by Tomi Valkeinen 4 weeks ago
We are calling drm_mode_config_reset() twice at probe time. There's no
reason for this and the second call can be removed, reducing work at
probe time slightly.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Fixes: 32a1795f57ee ("drm/tidss: New driver for TI Keystone platform Display SubSystem")
---
 drivers/gpu/drm/tidss/tidss_kms.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/tidss/tidss_kms.c b/drivers/gpu/drm/tidss/tidss_kms.c
index 8bb93194e5ac..b4779c09a1bf 100644
--- a/drivers/gpu/drm/tidss/tidss_kms.c
+++ b/drivers/gpu/drm/tidss/tidss_kms.c
@@ -287,8 +287,6 @@ int tidss_modeset_init(struct tidss_device *tidss)
 	if (ret)
 		return ret;
 
-	drm_mode_config_reset(ddev);
-
 	dev_dbg(tidss->dev, "%s done\n", __func__);
 
 	return 0;

-- 
2.43.0
Re: [PATCH 1/2] drm/tidss: Drop extra drm_mode_config_reset() call
Posted by Maxime Ripard 4 weeks ago
On Wed, 11 Mar 2026 10:16:28 +0200, Tomi Valkeinen wrote:
> We are calling drm_mode_config_reset() twice at probe time. There's no
> reason for this and the second call can be removed, reducing work at
> probe time slightly.
> 
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard@kernel.org>

Thanks!
Maxime