]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7eb161631cc5a0b24ec5d9e0777e4d0a8a44a94
tree8a974667109ce62f82cf1dd7e052a3f8e1480ffa
parentb3cea922edc5691ca0d274550b50333cd23278f6
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 <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