summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManasi Navare <manasi.d.navare@intel.com>2016-10-17 15:31:24 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2016-10-18 09:33:12 +0100
commita43455d4a317a13fe422c92b86083ed8a4fbeab9 (patch)
treec3b32858c6585f80e798666dc094342388946d6a
parenteb01cc549d4d5544833ff6da4d79bc63587fd5ca (diff)
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) Signed-off-by: Manasi Navare <manasi.d.navare@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 15be27c4..ea7e2879 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -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;