mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 04:21:03 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
da5c47f682
commit
f9ea47cec2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user