OSDN Git Service

drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 17 Apr 2023 21:41:11 +0000 (23:41 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:20:40 +0000 (09:20 -0400)
commitbafc31166aa7df5fa26ae0ad8196d1717e6cdea9
tree08617af65d40545f934846e64351fb4a36ef7759
parent960e27a5741cd3001996ff6ddfb3eb0ed3a4909d
drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()

It is likely p1_min_meta_chunk_bytes was expected here, instead of
min_meta_chunk_bytes.

Test the correct variable.

Fixes: dda4fb85e433 ("drm/amd/display: DML changes for DCN32/321")
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/dcn32/display_rq_dlg_calc_32.c