]> git.baikalelectronics.ru Git - kernel.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)
commit0b1d9d066060c0756475f800977fe698ff13120f
treecee9a5396729a691912223ead82711a32873a2c7
parent51f83b1a6ddb320e4287940142908b05692df07a
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: 7e514f240684 ("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