]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/fb-helper: dpms_legacy(): Only set on connectors in use
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 26 Mar 2019 17:55:32 +0000 (18:55 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Wed, 3 Apr 2019 09:05:20 +0000 (11:05 +0200)
commit65a102f68005891d7f39354cfd79099908df6d51
treecee9a5396729a691912223ead82711a32873a2c7
parentb9ed8cff037b8586365d0eb15a3da969ea39ffc9
drm/fb-helper: dpms_legacy(): Only set on connectors in use

For each enabled crtc the functions sets dpms on all registered connectors.
Limit this to only doing it once and on the connectors actually in use.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Fixes: 023eb571a1d0 ("drm: correctly update connector DPMS status in drm_fb_helper")
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326175546.18126-3-noralf@tronnes.org
drivers/gpu/drm/drm_fb_helper.c