OSDN Git Service

drm/amd/display: Restore should_update_pstate_support after bad revert
authorJoshua Aberback <joshua.aberback@amd.com>
Thu, 12 Sep 2019 17:14:52 +0000 (13:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:32:10 +0000 (19:32 -0500)
commit62f3abd1533900751b953d562d72c7d73978a85f
tree2f22d36b0986c746c37ed67bce619dde7e510201
parentf537d474df15393ad25721f5203ce16ed3596d66
drm/amd/display: Restore should_update_pstate_support after bad revert

[Why]
This function was mistakenly reverted as part of a legitimate revert. The
old version that was reverted to has bad logic, and is causing situations
where p-state change support is being toggled when it shouldn't be,
resulting in hangs.

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h