linux/drivers/gpu/drm/amd/display/dc
David Francis c6ade4ee73 drm/amd/display: On DCN1, Wait for vupdate on cursor updates
[Why]
Cursor updates must acquire the pipe control lock to
prevent vupdate from triggering in the middle of cursor
programming. On DCN1 the pipe control lock prevents
pageflips from occurring. This means that a cursor update
right before vupdate can delay a pending pageflip

[How]
If the time until the next vupdate is less than a
conservative estimate of the cursor programming time,
wait until the vupdate has passed before locking.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:36:49 -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 up reference clock abstractions 2019-03-19 15:36:49 -05:00
core drm/amd/display: On DCN1, Wait for vupdate on cursor updates 2019-03-19 15:36:49 -05:00
dce drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dce80 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce100 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce110 drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
dce112 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce120 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dcn10 drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -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: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
irq
virtual
dc.h drm/amd/display: 3.2.21 2019-03-19 15:36:49 -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: optionally optimize edp link rate based on timing 2019-03-05 15:09:33 -05:00
dc_helper.c drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -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: add way to determine if link is active 2019-02-06 13:30:59 -05:00
dc_stream.h drm/amd/display: Refactor for setup periodic interrupt. 2019-02-19 15:58:27 -05:00
dc_types.h drm/amd/display: Add PSR SMU Interrupt support 2019-03-19 15:36:49 -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: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -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