linux/drivers/gpu/drm/amd/display/amdgpu_dm
Nicholas Kazlauskas caff0e6654 drm/amd/display: Block immediate flips for non-fast updates
[Why]
Underflow can occur in the case where we change buffer pitch, DCC state,
rotation or mirroring for a plane while also performing an immediate
flip. It can also generate a p-state warning stack trace on DCN1 which
is typically observed during the cursor handler pipe locking because of
how frequent cursor updates can occur.

[How]
Store the update type on each CRTC - every plane will have access to
the CRTC state if it's flipping. If the update type is not
UPDATE_TYPE_FAST then the immediate flip should be disallowed.

No changes to the target vblank sequencing need to be done, we just
need to ensure that the surface registers do a double buffered update.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <david.francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-06 13:52:24 -05:00
..
amdgpu_dm.c drm/amd/display: Block immediate flips for non-fast updates 2019-08-06 13:52:24 -05:00
amdgpu_dm.h drm/amd/display: Block immediate flips for non-fast updates 2019-08-06 13:52:24 -05:00
amdgpu_dm_color.c
amdgpu_dm_crc.c drm/amd/display: add pipe CRC sources without disabling dithering. 2019-07-18 14:27:25 -05:00
amdgpu_dm_crc.h drm/amd/display: add pipe CRC sources without disabling dithering. 2019-07-18 14:27:25 -05:00
amdgpu_dm_debugfs.c
amdgpu_dm_debugfs.h
amdgpu_dm_helpers.c
amdgpu_dm_irq.c
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c drm/amd/display: Use switch table for dc_to_smu_clock_type 2019-08-02 10:17:57 -05:00
amdgpu_dm_services.c
amdgpu_dm_trace.h
Makefile