Source-Changes archive

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

CVS commit: [netbsd-7] src/sys/external/bsd/drm2



Module Name:    src
Committed By:   martin
Date:           Fri Feb 27 11:23:54 UTC 2015

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/i915 [netbsd-7]: i915_gem.c
            intel_i2c.c
        src/sys/external/bsd/drm2/include/drm [netbsd-7]: drm_wait_netbsd.h

Log Message:
Pull up following revision(s) (requested by snj in ticket #553):
        sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.20
        sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.21
        sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.22
        sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c: revision 1.5
        sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c: revision 1.6
        sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c: revision 1.7
        sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revision 1.6
Fix returned timeout in wait_seqno: remaining time, not time slept.
-
Fix return code of __wait_seqno.
-
MAX(ret, 0) is 0 if ret is negative, but if ret is negative we want
to return that negative value, meaning error.  Should've been
MIN(ret, 0), but I'll just rewrite it to clarify a wee bit.
-
If the GPU reset, call i915_gem_check_wedge and always return failure
like Linux does.  Caller must retry in that case.
-
Limit scope of ret and omit needless use of it to reduce confusion.
-
Make gmbus_wait_hw_status consistently use 50ms timeout like Linux.
-
Another attempt to fix the drm timed wait blarf blugh blahhh.
...aaaaand one more fix for __wait_seqno return value.
-
Also get the sense of the condition to wait until right.


To generate a diff of this commit:
cvs rdiff -u -r1.14.2.4 -r1.14.2.5 \
    src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
cvs rdiff -u -r1.4 -r1.4.2.1 \
    src/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c
cvs rdiff -u -r1.4.2.1 -r1.4.2.2 \
    src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index