]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bochs: Clear struct drm_connector_funcs.dpms
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Feb 2020 14:16:01 +0000 (15:16 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 10 Feb 2020 08:23:50 +0000 (09:23 +0100)
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 <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207141602.4760-1-tzimmermann@suse.de
drivers/gpu/drm/bochs/bochs_kms.c

index cc93ff74fbd820617ca1d8848685d23ce39fdb14..7410b0ea462340af2c322654bdaf0d6427c4883c 100644 (file)
@@ -88,7 +88,6 @@ static const struct drm_connector_helper_funcs bochs_connector_connector_helper_
 };
 
 static const struct drm_connector_funcs bochs_connector_connector_funcs = {
-       .dpms = drm_helper_connector_dpms,
        .fill_modes = drm_helper_probe_single_connector_modes,
        .destroy = drm_connector_cleanup,
        .reset = drm_atomic_helper_connector_reset,