diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0050-drm-amd-display-Fix-warning-in-freesync-module.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0050-drm-amd-display-Fix-warning-in-freesync-module.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0050-drm-amd-display-Fix-warning-in-freesync-module.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0050-drm-amd-display-Fix-warning-in-freesync-module.patch new file mode 100644 index 00000000..6bbcc392 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0050-drm-amd-display-Fix-warning-in-freesync-module.patch @@ -0,0 +1,30 @@ +From b7027c302e92700a74a3f7a1a90c44891017b146 Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Tue, 6 Dec 2016 12:01:23 -0500 +Subject: [PATCH 0050/4131] drm/amd/display: Fix warning in freesync module + +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@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 eb912ba..8892e8b 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.7.4 + |