[PATCH] Fix null pointer dereference in drmmode_output_dpms
Submitted by John Lindgren
Assigned to Nouveau Project
Link to original bug (#106994)
Description
Created attachment 140263
Fix null pointer dereference in drmmode_output_dpms
This fixes an Xorg crash when a Lenovo P50 laptop is undocked, disconnecting it from two external DisplayPort monitors.
Checking for koutput == NULL has precedent in drmmode_output_get_modes.
Patch 140263, "Fix null pointer dereference in drmmode_output_dpms":
0001-Fix-null-pointer-dereference-in-drmmode_output_dpms.patch