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
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
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
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
dc_helper.c drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -05:00
dc_hw_types.h
dc_link.h
dc_stream.h
dc_types.h drm/amd/display: Add PSR SMU Interrupt support 2019-03-19 15:36:49 -05:00
dm_event_log.h
dm_helpers.h
dm_pp_smu.h
dm_services.h drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -05:00
dm_services_types.h
irq_types.h
Makefile
os_types.h