summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-10-09 11:43:56 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-10-09 19:07:29 +0300
commit3bd4073524fa1586435725ad45ff971a6c2b2537 (patch)
tree16bdf72a39478129fd482dba9e1be02902fe0f12 /sound
parentb4563f595ed44514467cfb3566b8b6519f328354 (diff)
downloadlinux-3bd4073524fa1586435725ad45ff971a6c2b2537.tar.xz
drm/i915: Consolidate get_fence with pin_fence
Following the pattern now used for obj->mm.pages, use just pin_fence and unpin_fence to control access to the fence registers. I.e. instead of calling get_fence(); pin_fence(), we now just need to call pin_fence(). This will make it easier to reduce the locking requirements around fence registers. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20171009084401.29090-2-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions