[PATCH] drm: arc: Don't set connector DPMS handler

Laurent Pinchart laurent.pinchart+renesas at ideasonboard.com
Wed Jan 17 14:32:18 UTC 2018


The connector .dpms operation is only used by the legacy helpers. The
arc driver being fully atomic, the operation isn't needed anymore.
Remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
---
 drivers/gpu/drm/arc/arcpgu_sim.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/arc/arcpgu_sim.c b/drivers/gpu/drm/arc/arcpgu_sim.c
index bca3a678c955..1d4d5dd7e763 100644
--- a/drivers/gpu/drm/arc/arcpgu_sim.c
+++ b/drivers/gpu/drm/arc/arcpgu_sim.c
@@ -53,7 +53,6 @@ arcpgu_drm_connector_helper_funcs = {
 };
 
 static const struct drm_connector_funcs arcpgu_drm_connector_funcs = {
-	.dpms = drm_helper_connector_dpms,
 	.reset = drm_atomic_helper_connector_reset,
 	.fill_modes = drm_helper_probe_single_connector_modes,
 	.destroy = arcpgu_drm_connector_destroy,
-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list