]> git.baikalelectronics.ru Git - kernel.git/commit
drm: prune modes when output is disconnected.
authorAdam Jackson <ajax@redhat.com>
Tue, 8 Sep 2009 01:51:46 +0000 (11:51 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Sep 2009 01:51:46 +0000 (11:51 +1000)
commitd4f5b1c56f75730643ff80f9195e4755f4801e6e
tree3622ded2c5a7f95bf0113097eb7d1a736a616d7c
parent84aba5166cc3e1e903879414a60c6f20c0a7d9c9
drm: prune modes when output is disconnected.

When an output was disconnected, its mode list would remain.  If you later
plugged into a sink with no EDID (projector, etc), you'd inherit the mode
list from the old sink, which is not what you want.

taken from Fedora kernel

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c