drm/amd/display: Fix wrong plane index in dcn6 writeback latency loop

Use plane_descriptors[k] for the loop bound, matching the loop body.

Fixes: 7f7d7ea1fa ("drm/amd/display: Add new sources for DCN6")
Reviewed-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Lu Yao <yaolu@kylinos.cn>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Lu Yao 2026-09-08 13:52:02 +08:00 • committed by Alex Deucher
commit 2c3ed15808