drm/amd/display: Clear phantom stream count and plane count
authorMario Limonciello <mario.limonciello@amd.com>
Sat, 3 Feb 2024 00:30:59 +0000 (18:30 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Feb 2024 17:26:24 +0000 (12:26 -0500)
commit3cafcc93cfefd799a48c72d8851ba54231da7d2a
tree1572d029c41197c0c9d8fdb5f6ad4ac7d74702d4
parent04e1ef8aba14bff941714a48133a126356ad842f
drm/amd/display: Clear phantom stream count and plane count

When dc_state_destruct() was refactored the new phantom_stream_count
and phantom_plane_count members weren't cleared.

Fixes: 012a04b1d6af ("drm/amd/display: Refactor phantom resource allocation")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_state.c