• Jesse Barnes's avatar
    drm: fix drm_fb_helper handling of kernel crtcs · e87b2c42
    Jesse Barnes authored
    The drm_fb_helper shouldn't mess with CRTCs that aren't enabled or in
    its initial config. Ideally it shouldn't even include CRTCs in its
    initial config if they're not in use, but my old fix for that no longer
    works.  At any rate, this fixes a real bug I was seeing where after a
    console blank, both pipes would come back on, even though only one had
    been enabled before that.  Since the other pipe had a bogus config,
    this led to some screen corruption.
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    e87b2c42
drm_fb_helper.c 18.8 KB