Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 309c42ef authored by Yongqiang Sun's avatar Yongqiang Sun Committed by Alex Deucher
Browse files

drm/amd/display: wa to program split pipedegamma regs after mode set.

parent 13ab1b44
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1282,7 +1282,9 @@ static void commit_planes_for_stream(struct dc *dc,
			if (update_type == UPDATE_TYPE_FAST)
				continue;

			if (srf_updates[i].in_transfer_func)
			/* work around to program degamma regs for split pipe after set mode. */
			if (srf_updates[i].in_transfer_func || (pipe_ctx->top_pipe &&
					pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state))
				dc->hwss.set_input_transfer_func(
						pipe_ctx, pipe_ctx->plane_state);