drm/amd/display: Update number of DCN3 clock states
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 24 Aug 2021 19:10:50 +0000 (15:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:23 +0000 (13:42 +0200)
commit252521065e7f49b79e7b5d6ddcd4b1593d2cbc94
tree19288c9debf9fd48c84101e32eb475f1011a1bf2
parent06d58b770c72454452e53b9db4cde8c384f707e8
drm/amd/display: Update number of DCN3 clock states

commit 0bbf06d888734041e813b916d7821acd4f72005a upstream.

[Why & How]
The DCN3 SoC parameter num_states was calculated but not saved into the
object.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1403
Cc: stable@vger.kernel.org
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c