https://github.com/torvalds/linux
Revision e91abf80a0998f326107874c88d549f94839f13c authored by Michel Dänzer on 12 June 2013, 09:58:44 UTC, committed by Dave Airlie on 07 August 2013, 23:50:25 UTC
It takes an unsigned value. This happens not to blow up on 64-bit
architectures, but it does on 32-bit, causing
drm_calc_vbltimestamp_from_scanoutpos() to calculate totally bogus
timestamps for vblank events. Which in turn causes e.g. gnome-shell to
hang after a DPMS off cycle with current xf86-video-ati Git.

[airlied: regression introduced in drm: use monotonic time in drm_calc_vbltimestamp_from_scanoutpos]

Cc: stable@vger.kernel.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59339
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59836
Tested-by: shui yangwei <yangweix.shui@intel.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 16d5b27
History
Tip revision: e91abf80a0998f326107874c88d549f94839f13c authored by Michel Dänzer on 12 June 2013, 09:58:44 UTC
drm: Don't pass negative delta to ktime_sub_ns()
Tip revision: e91abf8
File Mode Size
Kconfig -rw-r--r-- 4.0 KB
Makefile -rw-r--r-- 526 bytes
alarmtimer.c -rw-r--r-- 20.7 KB
clockevents.c -rw-r--r-- 16.5 KB
clocksource.c -rw-r--r-- 29.1 KB
jiffies.c -rw-r--r-- 3.8 KB
ntp.c -rw-r--r-- 23.0 KB
ntp_internal.h -rw-r--r-- 495 bytes
posix-clock.c -rw-r--r-- 8.4 KB
sched_clock.c -rw-r--r-- 4.9 KB
tick-broadcast.c -rw-r--r-- 22.9 KB
tick-common.c -rw-r--r-- 9.2 KB
tick-internal.h -rw-r--r-- 5.2 KB
tick-oneshot.c -rw-r--r-- 2.8 KB
tick-sched.c -rw-r--r-- 29.3 KB
timeconv.c -rw-r--r-- 3.5 KB
timekeeping.c -rw-r--r-- 45.2 KB
timekeeping_debug.c -rw-r--r-- 1.9 KB
timekeeping_internal.h -rw-r--r-- 301 bytes
timer_list.c -rw-r--r-- 8.9 KB
timer_stats.c -rw-r--r-- 9.9 KB

back to top