Skip to content

Commit c0e2556

Browse files
author
Thomas Zimmermann
committed
drm/bochs: Clear struct drm_connector_funcs.dpms
Atomic modesetting doesn't use struct drm_connector_funcs.dpms and the set function, drm_helper_connector_dpms(), wouldn't support it anyway. So keep the pointer to NULL. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1525c20 commit c0e2556

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/bochs/bochs_kms.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ static const struct drm_connector_helper_funcs bochs_connector_connector_helper_
8888
};
8989

9090
static const struct drm_connector_funcs bochs_connector_connector_funcs = {
91-
.dpms = drm_helper_connector_dpms,
9291
.fill_modes = drm_helper_probe_single_connector_modes,
9392
.destroy = drm_connector_cleanup,
9493
.reset = drm_atomic_helper_connector_reset,

0 commit comments

Comments
 (0)