[Intel-gfx] [PATCH 00/11] drm: vblank fixes and timestamp based missed vblank guesttimation
ville.syrjala at linux.intel.com
ville.syrjala at linux.intel.com
Mon Sep 14 12:43:41 PDT 2015
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
This series has a few goals:
- make timestamps more accurate by not using rounded pixel/line durations
- avoid infinite loops in vblank code
- use the timestamps to guesttimate the number of missed vblanks, in case
there's no hardware frame counter, or it can't be trusted
- fix bogus vblank counts/timstamps when the vblank counter incerements
by an even number
Also available in my git repo (with a few hacks on top):
git://github.com/vsyrjala/linux.git vblank_ts_diff_5
Ville Syrjälä (11):
drm: s/int crtc/unsigned int pipe/ straggles
drm: Move timestamping constants into drm_vblank_crtc
drm: Stop using linedur_ns and pixeldur_ns for vblank timestamps
drm: Kill pixeldur_ns
drm/i915: Fix vblank count variable types
drm: Pass flags to drm_update_vblank_count()
drm: Limit the number of .get_vblank_counter() retries
drm: Clean up drm_calc_vbltimestamp_from_scanoutpos() vbl_status
drm: store_vblank() is never called with NULL timestamp
drm: Use vblank timestamps to guesstimate how many vblanks were missed
drm: Fix vblank timestamp races
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
drivers/gpu/drm/drm_irq.c | 328 ++++++++++++++----------------
drivers/gpu/drm/i915/i915_irq.c | 5 +-
drivers/gpu/drm/i915/intel_drv.h | 4 +-
drivers/gpu/drm/nouveau/nouveau_display.c | 8 +-
drivers/gpu/drm/nouveau/nouveau_display.h | 3 +-
drivers/gpu/drm/radeon/radeon_display.c | 14 +-
drivers/gpu/drm/radeon/radeon_drv.c | 5 +-
drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
drivers/gpu/drm/radeon/radeon_mode.h | 5 +-
drivers/gpu/drm/radeon/radeon_pm.c | 4 +-
include/drm/drmP.h | 21 +-
include/drm/drm_crtc.h | 6 -
13 files changed, 194 insertions(+), 213 deletions(-)
--
2.4.6
More information about the Intel-gfx
mailing list