Commit 8f4bdbc8 authored by Alex Hung's avatar Alex Hung Committed by Alex Deucher
Browse files

Revert "drm/amd/display: Validate hw_points_num before using it"



This reverts commit 58c3b334.

[WHY & HOW]
The writeback series cause a regression in thunderbolt display.

Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e3c88c44
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -243,9 +243,6 @@ static bool dwb3_program_ogam_lut(
		return false;
	}

	if (params->hw_points_num == 0)
		return false;

	REG_SET(DWB_OGAM_CONTROL, 0, DWB_OGAM_MODE, 2);

	current_mode = dwb3_get_ogam_current(dwbc30);