linux/drivers/gpu/drm/amd/display/dc
Harry Wentland 66eba12a54 drm/amd/display: Do cursor programming with rest of pipe
Cursors are always programmed independently of updates on other
planes. When atomic commits program cursor and surface updates
together the cursor update might be locked out by the surface
update and not take effect.

To combat this program cursor and surface updates together via
dc_update_planes_and_stream to ensure they can be applied
atomically.

When cursor updates come on their own use the old method
to program the cursor as dc_update_planes_and_stream isn't
handling this case correctly (yet), leading to a flickering
screen.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2186
Reviewed-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-04-30 09:51:30 -04:00
..
basics drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
bios drm/amd/display: Atom Integrated System Info v2_2 for DCN35 2024-04-30 09:46:08 -04:00
clk_mgr drm/amd/display: Add dtbclk access to dcn315 2024-04-30 09:45:41 -04:00
core drm/amd/display: Do cursor programming with rest of pipe 2024-04-30 09:51:30 -04:00
dce drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dce60 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce80 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce110 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce112 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce120 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dcn10 drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dcn20 drm/amd/display: Add some DCN401 reg name to macro definitions 2024-04-26 17:23:31 -04:00
dcn21 drm/amd/display: Modify DHCUB waterwark structures and functions 2024-03-27 01:43:28 -04:00
dcn30 drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dcn31 drm/amd/display: Handle Y carry-over in VCP X.Y calculation 2024-04-26 17:22:43 -04:00
dcn32 drm/amd/display: Keep VBios pixel rate div setting util next mode set 2024-04-30 09:49:45 -04:00
dcn35 drm/amd/display: Keep VBios pixel rate div setting util next mode set 2024-04-30 09:49:45 -04:00
dcn201 drm/amd/display: Drop unnecessary semicolon 2024-04-30 09:45:17 -04:00
dcn301 drm/amd/display: Remove duplicated function signature from dcn3.01 DCCG 2024-04-26 17:22:40 -04:00
dcn302 drm/amd/display: Refactor INIT into component folder 2024-01-03 10:47:29 -05:00
dcn303 drm/amd/display: Refactor INIT into component folder 2024-01-03 10:47:29 -05:00
dcn314 drm/amd/display: Keep VBios pixel rate div setting util next mode set 2024-04-30 09:49:45 -04:00
dcn321 drm/amd/display: Code style adjustments 2024-04-26 17:22:45 -04:00
dcn401 drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
dml drm/amd/display: Update comments in DC 2024-04-30 09:44:55 -04:00
dml2 drm/amd/display: Fix CFLAGS for dml2_core_dcn4_calcs.o 2024-04-26 17:25:06 -04:00
dpp drm/amd/display: Update comments in DC 2024-04-30 09:44:55 -04:00
dsc drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
gpio drm/amd/display: Update comments in DC 2024-04-30 09:44:55 -04:00
hdcp drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
hwss drm/amd/display: Update dcn351 debug flags and function pointers 2024-04-30 09:50:29 -04:00
inc drm/amd/display: Keep VBios pixel rate div setting util next mode set 2024-04-30 09:49:45 -04:00
irq drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
link drm/amd/display: Replace uint8_t with u8 for dp_hdmi_dongle_signature_str 2024-04-30 09:50:52 -04:00
optc drm/amd/display: Address kdoc for 'Enable CRTC' in optc401_enable_crtc 2024-04-26 17:23:43 -04:00
resource drm/amd/display: Update dcn351 debug flags and function pointers 2024-04-30 09:50:29 -04:00
spl drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: Force flush after write to IPS driver signals 2024-04-30 09:46:45 -04:00
dc_dmub_srv.h drm/amd/display: Force flush after write to IPS driver signals 2024-04-30 09:46:45 -04:00
dc_dp_types.h drm/amd/display: expand the non standard link rate for testing 2024-04-09 22:15:52 -04:00
dc_dsc.h drm/amd/display: Add link encoding to timing BW calculation parameters 2023-07-18 11:15:51 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_hw_types.h drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_plane_priv.h drm/amd/display: Add driver support for future FAMS versions 2024-04-09 22:15:26 -04:00
dc_plane.h drm/amd/display: Refactor DML2 interfaces 2024-03-27 01:36:37 -04:00
dc_spl_translate.c drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
dc_spl_translate.h drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
dc_stat.h
dc_state_priv.h drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_state.h drm/amd/display: Add handling for DC power mode 2024-04-09 22:04:51 -04:00
dc_stream_priv.h drm/amd/display: Block FPO According to Luminance Delta 2024-04-30 09:46:37 -04:00
dc_stream.h drm/amd/display: Do cursor programming with rest of pipe 2024-04-30 09:51:30 -04:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Fix Replay Desync Error Test 2024-04-30 09:45:26 -04:00
dc.h drm/amd/display: 3.2.282 2024-04-30 09:51:21 -04:00
dm_cp_psp.h drm/amd/display: Trivial code style adjustment 2024-02-07 12:26:23 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Code style adjustments 2024-04-26 17:22:45 -04:00
dm_pp_smu.h drm/amd/pm: support return vpe clock table 2023-12-14 15:25:59 -05:00
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dm_services.h drm/amd/display: Add dummy interface for tracing DCN32 SMU messages 2024-04-09 22:03:13 -04:00
irq_types.h drm/amd/display: Add missing IRQ types 2024-04-30 09:45:11 -04:00
Makefile drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
os_types.h drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00