Skip to contentSkip to conversation

drm/vmwgfx: Add back ->detect() and ->fill_modes()

PATCH In review Thierry Reding 5 participants 5 messages Mar 7, 2016 – Mar 8, 2016

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

PATCH 1/1 drm/vmwgfx: Add back ->detect() and ->fill_modes()

From: Thierry Reding <[email protected]>

This partially reverts commit d56f57ac969c ("drm/gma500: Move to private save/restore hooks") which removed these lines by mistake.

---
Hi Dave,

Daniel and I introduced this in v4.5-rc1, so it'd be good to have this go into v4.5 final once Sebastian and Thomas have confirmed that it is fixed.

 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +2 -0
index db082bea8daf..c5a1a08b0449 100644
@@ -563,6 +563,8 @@ static void vmw_sou_connector_destroy(struct drm_connector *connector)
 
 static const struct drm_connector_funcs vmw_sou_connector_funcs = {
 	.dpms = vmw_du_connector_dpms,
+	.detect = vmw_du_connector_detect,
+	.fill_modes = vmw_du_connector_fill_modes,
 	.set_property = vmw_du_connector_set_property,
 	.destroy = vmw_sou_connector_destroy,
 };
Signature · 6 lines
2.7.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 8 lines · Thierry Reding

From: Thierry Reding <[email protected]>

This partially reverts commit d56f57ac969c ("drm/gma500: Move to private save/restore hooks") which removed these lines by mistake.

Quoted 6 lines

---
Hi Dave,

Daniel and I introduced this in v4.5-rc1, so it'd be good to have this go into v4.5 final once Sebastian and Thomas have confirmed that it is fixed.

Yeah, sorry for the silly mistake - no idea any more how that crept in, there's no pending patch series at all even touching these hooks. -Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Tested-by on v1 1/1
#2 lore raw
In reply to Thierry Reding
Quoted 23 lines · Thierry Reding

From: Thierry Reding <[email protected]>

This partially reverts commit d56f57ac969c ("drm/gma500: Move to private save/restore hooks") which removed these lines by mistake.

---
Hi Dave,

Daniel and I introduced this in v4.5-rc1, so it'd be good to have this go into v4.5 final once Sebastian and Thomas have confirmed that it is fixed.

 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +0 -0
index db082bea8daf..c5a1a08b0449 100644

drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c static void vmw_sou_connector_destroy(struct drm_connector *connector) · line 570

Quoted 8 lines
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +2 -0
@@ -563,6 +563,8 @@ static void vmw_sou_connector_destroy(struct drm_connector *connector)
 
 static const struct drm_connector_funcs vmw_sou_connector_funcs = {
 	.dpms = vmw_du_connector_dpms,
+	.detect = vmw_du_connector_detect,
+	.fill_modes = vmw_du_connector_fill_modes,
 	.set_property = vmw_du_connector_set_property,
 	.destroy = vmw_sou_connector_destroy,
 };

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

Tested-by on v1 1/1
#3 lore raw
In reply to Thierry Reding
Quoted 23 lines · Thierry Reding

From: Thierry Reding <[email protected]>

This partially reverts commit d56f57ac969c ("drm/gma500: Move to private save/restore hooks") which removed these lines by mistake.

---
Hi Dave,

Daniel and I introduced this in v4.5-rc1, so it'd be good to have this go into v4.5 final once Sebastian and Thomas have confirmed that it is fixed.

 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +0 -0
index db082bea8daf..c5a1a08b0449 100644

drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c static void vmw_sou_connector_destroy(struct drm_connector *connector) · line 570

Quoted 8 lines
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +2 -0
@@ -563,6 +563,8 @@ static void vmw_sou_connector_destroy(struct drm_connector *connector)
 
 static const struct drm_connector_funcs vmw_sou_connector_funcs = {
 	.dpms = vmw_du_connector_dpms,
+	.detect = vmw_du_connector_detect,
+	.fill_modes = vmw_du_connector_fill_modes,
 	.set_property = vmw_du_connector_set_property,
 	.destroy = vmw_sou_connector_destroy,
 };

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