b522b62fa2
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. |
||
---|---|---|
.. | ||
bsd | ||
isc/atheros_hal |