]> git.hungrycats.org Git - linux/commit
drm/amd/display: Fix a test CalculatePrefetchSchedule()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 17 Apr 2023 21:35:08 +0000 (23:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:40 +0000 (19:39 +0200)
commit57ec1efac8ad43d1761b7f8a3b1481b190e9719f
treec52efcc196b9893a2366a33e1543785a563ec61e
parent38ea173f54b4cceaf77face69f0235dbbe11f4ef
drm/amd/display: Fix a test CalculatePrefetchSchedule()

[ Upstream commit 960e27a5741cd3001996ff6ddfb3eb0ed3a4909d ]

It is likely Height was expected here, instead of Width.

Test the correct variable.

Fixes: 17529ea2acfa ("drm/amd/display: Optimizations for DML math")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c