mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 09:34:13 +00:00
sna: Refresh mode list if the kernel updates
If the kernel changes its list of modes, make sure we update. (This is a losing battle since X will add whatever modes it finds from the EDID despite what the kernel is telling it.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -5190,6 +5190,9 @@ output_check_status(struct sna *sna, struct sna_output *output)
|
||||
if (status != XF86OutputStatusConnected)
|
||||
return true;
|
||||
|
||||
if (output->num_modes != compat_conn.conn.count_modes)
|
||||
return true;
|
||||
|
||||
if (output->edid_len == 0)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user