forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
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