bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc
Mario Kleiner d2574c33bb drm/amd/display: In VRR mode, do DRM core vblank handling at end of vblank. (v2)
In VRR mode, proper vblank/pageflip timestamps can only be computed
after the display scanout position has left front-porch. Therefore
delay calls to drm_crtc_handle_vblank(), and thereby calls to
drm_update_vblank_count() and pageflip event delivery, to after the
end of front-porch when in VRR mode.

We add a new vupdate irq, which triggers at the end of the vupdate
interval, ie. at the end of vblank, and calls the core vblank handler
function. The new irq handler is not executed in standard non-VRR
mode, so vblank handling for fixed refresh rate mode is identical
to the past implementation.

v2: Implement feedback by Nicholas and Paul Menzel.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-03 10:00:33 -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 Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-04-03 13:26:11 +10:00
core drm/amd/display: fix odm output gamma programming 2019-03-27 22:43:04 -05:00
dce Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-04-03 13:26:11 +10:00
dce80 Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-04-03 13:26:11 +10:00
dce100 Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-04-03 13:26:11 +10:00
dce110 drm/amd/display: use dc_is_virtual instead of ENUM 2019-03-27 22:42:51 -05:00
dce112 drm/amd/display: use dc_is_virtual instead of ENUM 2019-03-27 22:42:51 -05:00
dce120 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dcn10 Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-04-03 13:26:11 +10: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 odm output gamma programming 2019-03-27 22:43:04 -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.24 2019-03-27 22:42:44 -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: add way to determine if link is active 2019-02-06 13:30:59 -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: extend EDID support to 1kb 2019-03-20 23:39:48 -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