drm/amd/display: Negate IPS allow and commit bits
[WHY] On s0i3, IPS mask isn't saved and restored. It is reset to zero on exit. If it is cleared unexpectedly, driver will proceed operations while DCN is in IPS2 and cause a hang. [HOW] Negate the bit logic. Default value of zero indicates it is still in IPS2. Driver must poll for the bit to assert. Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by:Charlene Liu <charlene.liu@amd.com> Acked-by:
Alex Hung <alex.hung@amd.com> Signed-off-by:
Duncan Ma <duncan.ma@amd.com> Tested-by:
Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c 9 additions, 9 deletionsdrivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
- drivers/gpu/drm/amd/display/dc/core/dc.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/display/dc/core/dc.c
- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c 5 additions, 5 deletionsdrivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
Loading
Please register or sign in to comment