]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc0e255655f6d7ddec257b2f1779528092943c3fd
tree8a974667109ce62f82cf1dd7e052a3f8e1480ffa
parent1525c20cff96cd60549f8dd44f9b2fb15ee1715b
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