diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0094-drm-amd-display-don-t-crash-if-stream-is-NULL-when-t.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0094-drm-amd-display-don-t-crash-if-stream-is-NULL-when-t.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0094-drm-amd-display-don-t-crash-if-stream-is-NULL-when-t.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0094-drm-amd-display-don-t-crash-if-stream-is-NULL-when-t.patch deleted file mode 100644 index 24f4a6b8..00000000 --- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0094-drm-amd-display-don-t-crash-if-stream-is-NULL-when-t.patch +++ /dev/null @@ -1,33 +0,0 @@ -From cd1ce36cab0fd3493287c4056bccead5335c9a0e Mon Sep 17 00:00:00 2001 -From: Yongqiang Sun <yongqiang.sun@amd.com> -Date: Wed, 21 Dec 2016 11:16:48 -0500 -Subject: [PATCH 0094/4131] drm/amd/display: don't crash if stream is NULL when - trying to share clocks - -Signed-off-by: Yongqiang Sun <yongqiang.sun@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/dc/core/dc_resource.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c -index 343114b..eac597d 100644 ---- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c -+++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c -@@ -288,6 +288,11 @@ static bool is_sharable_clk_src( - if (pipe_with_clk_src->clock_source == NULL) - return false; - -+ if (pipe_with_clk_src->stream == NULL) { -+ ASSERT(0); -+ return false; -+ } -+ - if (pipe_with_clk_src->stream->signal == SIGNAL_TYPE_VIRTUAL) - return false; - --- -2.7.4 - |