summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorJyri Sarha2017-10-12 11:19:46 +0200
committerJyri Sarha2017-10-13 14:24:21 +0200
commitce99f7206c9105851d97202ed08c058af6f11ac4 (patch)
tree61d725de2ecd5fc218deefc92d6ff510e049924b /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentdrm/tilcdc: Use tilcdc_crtc_shutdown() in tilcdc_crtc_destroy() (diff)
downloadkernel-qcow2-linux-ce99f7206c9105851d97202ed08c058af6f11ac4.tar.gz
kernel-qcow2-linux-ce99f7206c9105851d97202ed08c058af6f11ac4.tar.xz
kernel-qcow2-linux-ce99f7206c9105851d97202ed08c058af6f11ac4.zip
drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
We need the total frame refresh time to check if we are too close to vertical sync when updating the two framebuffer DMA registers and risk a collision. This new method is more accurate that the previous that based on mode's vrefresh value, which itself is inaccurate or may not even be initialized. Reported-by: Kevin Hao <kexin.hao@windriver.com> Fixes: 11abbc9f39e0 ("drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is enabled") Cc: <stable@vger.kernel.org> # v4.11+ Signed-off-by: Jyri Sarha <jsarha@ti.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions