linux/drivers/gpu/drm/amd
Ville Syrjälä 3bb403bf42 drm: Stop using linedur_ns and pixeldur_ns for vblank timestamps
linedur_ns, and especially pixeldur_ns are becoming rather inaccurate
to be used for the vblank timestamp correction. With 4k@60 the pixel
duration is already below 2ns, so the amount of error due to the
truncation to nanoseconds is introducing quite a bit of error.

We can avoid such problems if we instead calculate the timestamp
delta_ns directly from the dislay timings, avoiding the use of
these intermediate truncated values.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[danvet: Squash in fixup from Thierry Reding for amdgpu.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-09-24 20:14:21 +02:00
..
amdgpu drm: Stop using linedur_ns and pixeldur_ns for vblank timestamps 2015-09-24 20:14:21 +02:00
amdkfd amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h> 2015-08-30 12:36:58 +03:00
include drm/amdgpu: Add Fiji smu 7.1.3 headers (v2) 2015-08-17 16:50:25 -04:00
scheduler drm/amdgpu: fix warning in scheduler 2015-09-04 11:04:04 -04:00