• Larry Finger's avatar
    drm/radeon: Fix kernel panic on shutdown · 0a6e2105
    Larry Finger authored
    Since commit a481daa8 ("drm/radeon: always apply pci shutdown
    callbacks"), a Dell Latitude D600 laptop has crashed on shutdown. The
    PCI Identification of the graphics adapter is "VGA compatible controller
    [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV250/M9 GL [Mobility
    FireGL 9000/Radeon 9000] [1002:4c66] (rev 01)".
    
    Prior to commit b0c80bd5 ("drm/radeon: fix up dp aux tear down (v2)"),
    I have no idea where the panic happened as the screen was blanked before
    the crash.  Since that more recent change, the panic has been in routine
    radeon_connector_unregister(), and has been shown to be due to a NULL
    value in the ddc_bus member of struct drm_connector.
    
    Bug: https://bugzilla.kernel.org/show_bug.cgi?id=178421
    Fixes: a481daa8 ("drm/radeon: always apply pci shutdown callbacks")
    Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    0a6e2105
radeon_connectors.c 83.3 KB