linux/drivers/gpu/drm/amd/display/dc/dcn10
Leo Li c7e557ab46 drm/amd/display: Clean up locking in dcn*_apply_ctx_for_surface()
[Why]

dcn*_disable_plane() doesn't unlock the pipe anymore, making the extra
lock unnecessary.

In addition - during full plane updates - all necessary pipes should be
locked/unlocked together when modifying hubp to avoid tearing in
pipesplit setups.

[How]

Remove redundant locks, and add function to lock all pipes. If an
interdependent pipe update is required, lock down all pipes. Otherwise,
lock only the top pipe for the updated pipe tree.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-10 13:53:28 -05:00
..
dcn10_clk_mgr.c drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
dcn10_clk_mgr.h drm/amd/display: Clean up old pplib interface functions 2019-03-27 22:41:49 -05:00
dcn10_cm_common.c drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00
dcn10_cm_common.h drm/amd/display: Set gamma not working on MPO planes 2018-11-05 14:21:31 -05:00
dcn10_dpp_cm.c drm/amd/display: Move enum gamut_remap_select to hw_shared.h 2019-03-05 15:09:32 -05:00
dcn10_dpp_dscl.c drm/amd/display: Fix Divide by 0 in memory calculations 2019-03-19 15:04:04 -05:00
dcn10_dpp.c drm/amd/display: Use plane->color_space for dpp if specified 2019-04-10 13:53:28 -05:00
dcn10_dpp.h
dcn10_hubbub.c drm/amd/display: Combine field toggle macro and sequence write macro. 2019-03-19 15:36:49 -05:00
dcn10_hubbub.h Revert "drm/amd/display: dcn add check surface in_use" 2019-03-19 15:04:03 -05:00
dcn10_hubp.c drm/amd/display: PIP overlay corruption 2019-02-06 13:30:28 -05:00
dcn10_hubp.h drm/amd/display: Add DCN_VM aperture registers 2019-03-05 15:09:32 -05:00
dcn10_hw_sequencer_debug.c drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
dcn10_hw_sequencer.c drm/amd/display: Clean up locking in dcn*_apply_ctx_for_surface() 2019-04-10 13:53:28 -05:00
dcn10_hw_sequencer.h drm/amd/display: Clean up locking in dcn*_apply_ctx_for_surface() 2019-04-10 13:53:28 -05:00
dcn10_ipp.c
dcn10_ipp.h
dcn10_link_encoder.c drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -05:00
dcn10_link_encoder.h drm/amd/display: interface to check if timing can be seamless 2019-02-06 13:30:44 -05:00
dcn10_mpc.c
dcn10_mpc.h
dcn10_opp.c
dcn10_opp.h
dcn10_optc.c drm/amd/display: Refactor for setup periodic interrupt. 2019-02-19 15:58:27 -05:00
dcn10_optc.h drm/amd/display: Refactor for setup periodic interrupt. 2019-02-19 15:58:27 -05:00
dcn10_resource.c drm/amd/display: return correct dc_status for dcn10_validate_global 2019-04-10 13:53:28 -05:00
dcn10_resource.h drm/amd/display: Pass init_data into DCN resource creation 2019-03-27 22:41:40 -05:00
dcn10_stream_encoder.c drm/amd/display: Pass SDP spliting in parameters 2019-03-27 22:42:30 -05:00
dcn10_stream_encoder.h drm/amd/display: Pass SDP spliting in parameters 2019-03-27 22:42:30 -05:00
Makefile drm/amd/display: rename dccg to clk_mgr 2018-11-05 14:20:48 -05:00