bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Add function to create 4d19 fixed point 2019-03-19 15:04:02 -05:00
bios drm/amd/display/dc/bios_parser2: Mark expected switch fall-throughs 2019-02-18 18:01:00 -05:00
calcs drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
core drm/amd/display: disable link before changing link settings 2019-04-10 13:53:28 -05:00
dce drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
dce80 drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
dce100 drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
dce110 drm/amd/display: fix clk_mgr naming 2019-04-10 13:53:27 -05:00
dce112 drm/amd/display: Fix multi-thread writing to 1 state 2019-04-03 11:57:07 -05:00
dce120 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dcn10 drm/amd/display: Clean up locking in dcn*_apply_ctx_for_surface() 2019-04-10 13:53:28 -05:00
dml drm/amd/display: implement bounding box update based on uclk breakdown 2019-03-19 15:36:49 -05:00
gpio drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
inc drm/amd/display: return correct dc_status for dcn10_validate_global 2019-04-10 13:53:28 -05:00
irq drm/amd/display: In VRR mode, do DRM core vblank handling at end of vblank. (v2) 2019-04-03 10:00:33 -05:00
virtual drm/amd/display: Pass SDP spliting in parameters 2019-03-27 22:42:30 -05:00
dc.h drm/amd/display: 3.2.25 2019-04-10 13:53:28 -05:00
dc_bios_types.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: cache additional dpcd caps for HDR capability check 2019-03-20 23:39:48 -05:00
dc_helper.c drm/amd/display: Move dm_read_reg_func to dc_helper. 2019-03-20 23:39:48 -05:00
dc_hw_types.h drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
dc_link.h drm/amd/display: prefer preferred link cap over verified link settings 2019-04-10 13:53:28 -05:00
dc_stream.h drm/amd/display: Expose generic SDP message access interface 2019-03-20 23:39:49 -05:00
dc_types.h drm/amd/display: fix dp_hdmi_max_pixel_clk units 2019-04-10 13:53:27 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Poll pending DOWN_REP before enabling the link 2019-03-19 15:04:02 -05:00
dm_pp_smu.h drm/amd/display: Clean up old pplib interface functions 2019-03-27 22:41:49 -05:00
dm_services.h drm/amd/display: Move dm_read_reg_func to dc_helper. 2019-03-20 23:39:48 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
os_types.h amd-gpu: Don't undefine READ and WRITE 2018-10-24 00:36:12 +01:00