commit | c53d13138da055646a197633c08b68969233e84b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Nov 20 10:27:41 2019 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Nov 20 10:46:02 2019 +0000 |
tree | 306c666a34d3563276c26589e8502a5028c9a0e7 | |
parent | e668950149dedb873496a282eae3a8319713de76 [diff] |
drm/i915/selftests: Take a ref to the request we wait upon i915_request_add() consumes the passed in reference to the i915_request, so if the selftest caller wishes to wait upon it afterwards, it needs to take a reference for itself. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191120102741.3734346-1-chris@chris-wilson.co.uk