]> git.infradead.org Git - nvme.git/commit
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 23:28:55 +0000 (18:28 -0500)
commitda48914e1fcdbf57f6b95d4552fcc088e6547ce4
tree0f8fe1680082efac1ec148f4184f88001954b8aa
parent55173942a63668bdc1d61812c7c9e0406aefb5bf
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