Skip to contentSkip to conversation

sna: Reprobe if kernel updates the connector mode list

PATCH In review Manasi Navare 2 participants 2 messages Oct 17, 2016 – Oct 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sna: Reprobe if kernel updates the connector mode list

Output_check_status() should return a false if it detects that the connector mode list has changed so that sna_mode_discover can reprobe.

Fixes eb01cc549d4d (sna: Refresh mode list if the kernel updates)
Cc Chris Wilson <[email protected]>
Cc Ville Syrjala <[email protected]>
---
 src/sna/sna_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/sna/sna_display.c +1 -1
index 15be27c..ea7e287 100644
@@ -5191,7 +5191,7 @@ output_check_status(struct sna *sna, struct sna_output *output)
 		return true;
 
 	if (output->num_modes != compat_conn.conn.count_modes)
-		return true;
+		return false;
 
 	if (output->edid_len == 0)
 		return false;
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 9 lines · Manasi Navare

Output_check_status() should return a false if it detects that the connector mode list has changed so that sna_mode_discover can reprobe.

Fixes eb01cc549d4d (sna: Refresh mode list if the kernel updates)
Cc Chris Wilson <[email protected]>
Cc Ville Syrjala <[email protected]>

Pushed, thanks.
-Chris

Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx