]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix divide by zero in DML
authorAric Cyr <aric.cyr@amd.com>
Wed, 24 Aug 2022 20:34:53 +0000 (16:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:26:59 +0000 (14:26 -0400)
commit13cf63f0a756836caf768e4e830b76a7ee2043a1
tree93523e0a606277b4b153a5ff0ff3e8b88e2f8142
parentbd611f2cadb8b92bd242ef752068a641b47a8c2b
drm/amd/display: Fix divide by zero in DML

[why]
Incorrectly using MicroTileWidth instead of MacroTileWidth for
calculations.

[how]
Remove all unused references to MicroTile and change them to MacroTile.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h