Skip to contentSkip to conversation

drm/tinydrm: Remove explicit .best_encoder assignment

PATCH Applied Haneen Mohammed 2 participants 2 messages Oct 10, 2017 – Oct 13, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/tinydrm: Remove explicit .best_encoder assignment

Since the driver is relying on the atomic helpers, remove the explicit .best_encoder assignment and let the core call drm_atomic_helper_best_encoder().

---
 drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c +0 -1
index 177e9d8..bc55de2 100644
@@ -50,7 +50,6 @@ static int tinydrm_connector_get_modes(struct drm_connector *connector)
 
 static const struct drm_connector_helper_funcs tinydrm_connector_hfuncs = {
 	.get_modes = tinydrm_connector_get_modes,
-	.best_encoder = drm_atomic_helper_best_encoder,
 };
 
 static enum drm_connector_status
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Den 10.10.2017 22.58, skrev Haneen Mohammed:

Quoted 6 lines

Since the driver is relying on the atomic helpers, remove the explicit .best_encoder assignment and let the core call drm_atomic_helper_best_encoder().

---

Thanks, applied to drm-misc.

Noralf.

Quoted 15 lines
  drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c +0 -1
index 177e9d8..bc55de2 100644
@@ -50,7 +50,6 @@ static int tinydrm_connector_get_modes(struct drm_connector *connector)
 
  static const struct drm_connector_helper_funcs tinydrm_connector_hfuncs = {
  	.get_modes = tinydrm_connector_get_modes,
-	.best_encoder = drm_atomic_helper_best_encoder,
  };
 
  static enum drm_connector_status