aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2012-07-20 12:40:59 +0100
committerDaniel Vetter <[email protected]>2012-07-25 18:23:51 +0200
commit3bb73aba1ed5198a2c1dfaac4f3c95459930d84a (patch)
treecda853891463b2df4e440775a7faf415a143395c /tools/perf/scripts/python
parent540a8950047579a368a9b8fdcc15ab7fdb9921d3 (diff)
drm/i915: Allow late allocation of request for i915_add_request()
Request preallocation was added to i915_add_request() in order to support the overlay. However, not all users care and can quite happily ignore the failure to allocate the request as they will simply repeat the request in the future. By pushing the allocation down into i915_add_request(), we can then remove some rather ugly error handling in the callers. v2: Nullify request->file_priv otherwise we chase a garbage pointer when retiring requests. Signed-off-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions