forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/gpu/drm/i915/i915_request.c
....@@ -1525,6 +1525,8 @@
15251525 &rq->dep,
15261526 0);
15271527 }
1528
+ if (prev)
1529
+ i915_request_put(prev);
15281530
15291531 /*
15301532 * Make sure that no request gazumped us - if it was allocated after