Skip to content

Commit 275d8a1

Browse files
George Shenalexdeucher
authored andcommitted
drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2
[Why] The hwss function does_plane_fit_in_mall not applicable to dcn3.2 asics. Using it with dcn3.2 can result in undefined behaviour. [How] Assign the function pointer to NULL. Reviewed-by: Alvin Lee <[email protected]> Acked-by: Alex Hung <[email protected]> Signed-off-by: George Shen <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent dd2db2d commit 275d8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/dcn32/dcn32_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static const struct hw_sequencer_funcs dcn32_funcs = {
9494
.get_vupdate_offset_from_vsync = dcn10_get_vupdate_offset_from_vsync,
9595
.calc_vupdate_position = dcn10_calc_vupdate_position,
9696
.apply_idle_power_optimizations = dcn32_apply_idle_power_optimizations,
97-
.does_plane_fit_in_mall = dcn30_does_plane_fit_in_mall,
97+
.does_plane_fit_in_mall = NULL,
9898
.set_backlight_level = dcn21_set_backlight_level,
9999
.set_abm_immediate_disable = dcn21_set_abm_immediate_disable,
100100
.hardware_release = dcn30_hardware_release,

0 commit comments

Comments
 (0)