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

Commit c196cbe0 authored by Hersen Wu's avatar Hersen Wu Committed by Alex Deucher
Browse files

drm/amd/display: add dpms state to DC follow up

parent 067c878a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -332,7 +332,7 @@ static void set_dither_option(struct dc_stream_state *stream,
{
	struct bit_depth_reduction_params params;
	struct dc_link *link = stream->status.link;
	struct pipe_ctx *pipes;
	struct pipe_ctx *pipes = NULL;
	int i;

	for (i = 0; i < MAX_PIPES; i++) {
@@ -344,7 +344,7 @@ static void set_dither_option(struct dc_stream_state *stream,
	}

	memset(&params, 0, sizeof(params));
	if (!stream)
	if (!pipes)
		return;
	if (option > DITHER_OPTION_MAX)
		return;