summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/intel_bios.c
diff options
context:
space:
mode:
authorJohn Harrison2014-11-24 19:49:28 +0100
committerDaniel Vetter2014-12-03 09:35:15 +0100
commitff8658850aa9bdb5bc308ff8cce60c2558c58566 (patch)
tree262cf11fdef631566cbbd1d6cefc4f47473487e0 /drivers/gpu/drm/gma500/intel_bios.c
parentdrm/i915: Convert i915_gem_ring_throttle to use requests (diff)
downloadkernel-qcow2-linux-ff8658850aa9bdb5bc308ff8cce60c2558c58566.tar.gz
kernel-qcow2-linux-ff8658850aa9bdb5bc308ff8cce60c2558c58566.tar.xz
kernel-qcow2-linux-ff8658850aa9bdb5bc308ff8cce60c2558c58566.zip
drm/i915: Ensure requests stick around during waits
Added reference counting of the request structure around __wait_seqno() calls. This is a precursor to updating the wait code itself to take the request rather than a seqno. At that point, it would be a Bad Idea for a request object to be retired and freed while the wait code is still using it. v3: Note that even though the mutex lock is held during a call to i915_wait_seqno(), it is still necessary to explicitly bump the reference count. It appears that the shrinker can asynchronously retire items even though the mutex is locked. For: VIZ-4377 Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Thomas Daniel <Thomas.Daniel@intel.com> [danvet: Remove wrongly squashed hunk which breaks the build.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/gma500/intel_bios.c')
0 files changed, 0 insertions, 0 deletions