forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
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