Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/i915
Mika Kuoppala f72b3435c1 drm/i915: Don't emit semaphore wait if wrap happened
If wrap just happened we need to prevent emitting waits for
pre wrap values. Detect this and emit no-ops instead.

v2: Use olr > seqno to detect wrap instead of *seqno == 0
as suggested by Chris Wilson.

v3: Use last used seqno to detect the wraparound. From
Chris Wilson

v4: Fixed unnecessary last_seqno assigment

References: https://bugs.freedesktop.org/show_bug.cgi?id=57967
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-12-11 13:32:26 +01:00
..
2012-11-29 11:43:52 +01:00
2012-11-29 14:58:53 +01:00
2012-12-03 22:31:04 +01:00
2012-11-29 14:58:53 +01:00
2012-07-25 18:23:48 +02:00