[PATCH 06/12] drm/amd/display: Fix warning in freesync module
Harry Wentland
harry.wentland at amd.com
Thu Dec 8 01:26:18 UTC 2016
Change-Id: I225866bf260b0fd5cf4aabcadb3381d3b3ed6e93
Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
index eb912baa0169..8892e8bec7c3 100644
--- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
@@ -746,6 +746,9 @@ void mod_freesync_update_state(struct mod_freesync *mod_freesync,
freesync_program_required = true;
}
break;
+ case FREESYNC_STATE_NONE:
+ /* handle here to avoid warning */
+ break;
}
}
--
2.9.3
More information about the amd-gfx
mailing list