diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2015-03-16 11:14:57 +0000 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2016-05-06 14:12:54 +0100 |
commit | 3d201990c9927dbe16b5b358eb943a56a6b8217c (patch) | |
tree | 64d51934db0ee634336b16513d9f12539f535720 /firmware/cis | |
parent | 5b5b8960b1a6609161a7c69a3524209d54e78a2f (diff) |
drm/i915: Keep the reserved space mechanism happy
Ring space is reserved when constructing a request to ensure that the
subsequent 'add_request()' call cannot fail due to waiting for space
on a busy or broken GPU. However, the scheduler jumps in to the middle
of the execbuffer process between request creation and request
submission. Thus it needs to cancel the reserved space when the
request is simply added to the scheduler's queue and not yet
submitted. Similarly, it needs to re-reserve the space when it finally
does want to send the batch buffer to the hardware.
v3: Updated to use locally cached request pointer.
v5: Updated due to changes to earlier patches in series - for runtime
PM calls and splitting bypass mode into a separate function.
For: VIZ-1587
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'firmware/cis')
0 files changed, 0 insertions, 0 deletions