drm/amd/display: Increase compbuf size prior to updating clocks
authorDillon Varone <Dillon.Varone@amd.com>
Wed, 21 Sep 2022 00:50:49 +0000 (20:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 16:00:54 +0000 (12:00 -0400)
commitb808a7eb30b02e05023b505fe6db590ba799683f
tree59b960c7f287c9905bd340400458549b7486a2fd
parent8cab4ef0ad9521030e1ae4bd294a1e2e6a04659f
drm/amd/display: Increase compbuf size prior to updating clocks

[WHY?]
Clocks are updating based on the incoming context's support, however the new
compbuf size is not programmed prior to udpating clocks, which can result in
P-State hangs.

[HOW?]
Increase compbuf size prior to updating clocks.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c