OSDN Git Service

drm/amd/display: Fix a test CalculatePrefetchSchedule()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 17 Apr 2023 21:35:08 +0000 (23:35 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:20:31 +0000 (09:20 -0400)
commit960e27a5741cd3001996ff6ddfb3eb0ed3a4909d
tree152df6e9b49d2c7b91d3804542690d89d3e6f6ab
parent609d830048fb00d4fdea59fc9d17a8d63fbddb4a
drm/amd/display: Fix a test CalculatePrefetchSchedule()

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>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c