diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0416-drm-amd-display-Use-MED-update-type-if-clip-position.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0416-drm-amd-display-Use-MED-update-type-if-clip-position.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0416-drm-amd-display-Use-MED-update-type-if-clip-position.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0416-drm-amd-display-Use-MED-update-type-if-clip-position.patch deleted file mode 100644 index a4028438..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0416-drm-amd-display-Use-MED-update-type-if-clip-position.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 695a19066103f195f33d1fd2b5fd1c88760fce74 Mon Sep 17 00:00:00 2001 -From: Harry Wentland <harry.wentland@amd.com> -Date: Thu, 27 Apr 2017 17:13:34 -0400 -Subject: [PATCH 0416/4131] drm/amd/display: Use MED update type if clip - position changes - -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/dc/core/dc.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c -index b30d4bc..3c25543 100644 ---- a/drivers/gpu/drm/amd/display/dc/core/dc.c -+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c -@@ -1143,7 +1143,7 @@ static enum surface_update_type get_scaling_info_update_type( - return UPDATE_TYPE_FULL; - - /* Check Clip rectangles if not equal -- * difference is in offsets == > UPDATE_TYPE_FAST -+ * difference is in offsets == > UPDATE_TYPE_MED - * difference is in dimensions == > UPDATE_TYPE_FULL - */ - if (memcmp(&u->scaling_info->clip_rect, -@@ -1152,7 +1152,7 @@ static enum surface_update_type get_scaling_info_update_type( - u->surface->clip_rect.height) && - (u->scaling_info->clip_rect.width == - u->surface->clip_rect.width)) { -- return UPDATE_TYPE_FAST; -+ return UPDATE_TYPE_MED; - } else { - return UPDATE_TYPE_FULL; - } -@@ -1326,8 +1326,7 @@ void dc_update_surfaces_and_stream(struct dc *dc, - srf_updates[i].plane_info->dcc; - } - -- /* not sure if we still need this */ -- if (update_type == UPDATE_TYPE_FULL) { -+ if (update_type >= UPDATE_TYPE_MED) { - for (j = 0; j < core_dc->res_pool->pipe_count; j++) { - struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; - --- -2.7.4 - |