]> 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)
commitb77688411a5092992aeac25de1711e6301b34c0b
treecee9a5396729a691912223ead82711a32873a2c7
parent1dc892eec4bdec71a37ac79bdaa43b2a8c8af14d
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