diff options
author | Chengming Gui <Jack.Gui@amd.com> | 2020-07-14 16:25:04 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-21 15:37:39 -0400 |
commit | 5ea6f9c22c709d5b4dd69444779eb2d9e2722274 (patch) | |
tree | 454bb5e37b0dd8056e3388ccd968fd29f9c8236b /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
parent | c652923afa7c8fef2aee42142e9663c0e69f367d (diff) | |
download | linux-5ea6f9c22c709d5b4dd69444779eb2d9e2722274.tar.gz linux-5ea6f9c22c709d5b4dd69444779eb2d9e2722274.tar.bz2 linux-5ea6f9c22c709d5b4dd69444779eb2d9e2722274.zip |
drm/amdgpu: add timeout flush mechanism to update wptr for self interrupt (v2)
outstanding log reaches threshold will trigger IH ring1/2's wptr
reported, that will avoid generating interrupts to ring0 too frequent.
But if ring1/2's wptr hasn't been increased for a long time, the outstanding log
can't reach threshold so that driver can't get latest wptr info and
miss some interrupts.
v2: squash in warning fix
Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions