Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 fix uninitialized



details:   https://anonhg.NetBSD.org/src/rev/09ac6bb707a8
branches:  trunk
changeset: 333401:09ac6bb707a8
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 01 21:44:51 2014 +0000

description:
fix uninitialized

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_gem.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r a0ed8a18998c -r 09ac6bb707a8 sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c    Sat Nov 01 16:45:16 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c    Sat Nov 01 21:44:51 2014 +0000
@@ -1391,6 +1391,8 @@
 
        if (timeout)
                ticks = mstohz(timespec_to_ns(timeout) / 1000000);
+       else
+               ticks = 1;
 
        if (INTEL_INFO(dev)->gen >= 6 && can_wait_boost(file_priv)) {
                gen6_rps_boost(dev_priv);



Home | Main Index | Thread Index | Old Index