drm/crtc_helper: NULL encoder->crtc when switching encoders
authorMaarten Maathuis <madman2003@gmail.com>
Tue, 18 Aug 2009 22:56:45 +0000 (00:56 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 30 Aug 2009 23:09:29 +0000 (09:09 +1000)
commitff846ab7f76ffecba4f0bef026163d2a2364d7d0
tree5a38ce7d88bf6996598360cf348489aec8b6a2b4
parentf380ef86916904e4b79f7bec599deb51057b2d0c
drm/crtc_helper: NULL encoder->crtc when switching encoders

- Previously the old encoder would be called during modeset and without a connector bad things happened.

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