mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-07 09:55:19 +02:00
Revert "drm/amd/display: Validate hw_points_num before using it"
commit8f4bdbc8e9
upstream. This reverts commit58c3b3341c
. [WHY & HOW] The writeback series cause a regression in thunderbolt display. Signed-off-by: Alex Hung <alex.hung@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8e1f64d446
commit
50fe8565a9
|
@ -243,9 +243,6 @@ static bool dwb3_program_ogam_lut(
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params->hw_points_num == 0)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
REG_SET(DWB_OGAM_CONTROL, 0, DWB_OGAM_MODE, 2);
|
REG_SET(DWB_OGAM_CONTROL, 0, DWB_OGAM_MODE, 2);
|
||||||
|
|
||||||
current_mode = dwb3_get_ogam_current(dwbc30);
|
current_mode = dwb3_get_ogam_current(dwbc30);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user