linux/drivers/gpu/drm/nouveau
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
..
dispnv04 drm: Constify TV mode names 2015-09-08 13:45:52 +02:00
include drm/nouveau/tegra: merge platform setup from nouveau drm 2015-08-28 12:40:49 +10:00
nvif
nvkm Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux 2015-09-11 09:35:56 -07:00
Kbuild drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
Kconfig
nouveau_abi16.c drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_abi16.h
nouveau_acpi.c drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
nouveau_acpi.h drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_bo.h
nouveau_chan.c drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_chan.h
nouveau_connector.c drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nouveau_connector.h
nouveau_crtc.h
nouveau_debugfs.c
nouveau_debugfs.h
nouveau_display.c drm: Stop using linedur_ns and pixeldur_ns for vblank timestamps 2015-09-24 20:14:21 +02:00
nouveau_display.h drm: Stop using linedur_ns and pixeldur_ns for vblank timestamps 2015-09-24 20:14:21 +02:00
nouveau_dma.c
nouveau_dma.h
nouveau_dp.c
nouveau_drm.c drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_drm.h drm/nouveau: bump driver version for release 2015-08-28 12:40:49 +10:00
nouveau_encoder.h
nouveau_fbcon.c
nouveau_fbcon.h
nouveau_fence.c
nouveau_fence.h
nouveau_gem.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nouveau_gem.h
nouveau_hwmon.c drm/nouveau/therm: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_nvif.c
nouveau_platform.c drm/nouveau/tegra: merge platform setup from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_platform.h drm/nouveau/tegra: merge platform setup from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_sysfs.c drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
nouveau_sysfs.h
nouveau_ttm.c drm/nouveau/pci: merge agp handling from nouveau drm 2015-08-28 12:40:49 +10:00
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c
nouveau_vga.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.c drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c drm/nouveau/fifo: convert user classes to new-style nvkm_object 2015-08-28 12:40:40 +10:00
nvc0_fbcon.c
nvc0_fence.c