diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0584-drm-amd-display-Undo-dc_update_surfaces_and_stream-c.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0584-drm-amd-display-Undo-dc_update_surfaces_and_stream-c.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0584-drm-amd-display-Undo-dc_update_surfaces_and_stream-c.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0584-drm-amd-display-Undo-dc_update_surfaces_and_stream-c.patch new file mode 100644 index 00000000..4705e7ab --- /dev/null +++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0584-drm-amd-display-Undo-dc_update_surfaces_and_stream-c.patch @@ -0,0 +1,36 @@ +From 2940aaab9c442ff1dff02bbaa75033b496923d26 Mon Sep 17 00:00:00 2001 +From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> +Date: Wed, 5 Jul 2017 13:28:24 -0400 +Subject: [PATCH 0584/4131] drm/amd/display: Undo dc_update_surfaces_and_stream + change. + +Restoring conditional call to in_transfer_func since no reason +to call it unconditionally. + +Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@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 | 5 +---- + 1 file changed, 1 insertion(+), 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 90a3150..2f93f0e 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c +@@ -1603,10 +1603,7 @@ void dc_update_surfaces_and_stream(struct dc *dc, + if (update_type == UPDATE_TYPE_FAST) + continue; + +- /* TODO find out why check is false */ +- /* TODO with this still not programming some color stuff... panel is dark-ish */ +- /*if (is_new_pipe_surface || +- srf_updates[i].in_transfer_func)*/ ++ if (srf_updates[i].in_transfer_func) + core_dc->hwss.set_input_transfer_func( + pipe_ctx, pipe_ctx->surface); + +-- +2.7.4 + |