commit | 1bbdd241ffeb86b29e3dc80539cd1b88037b5fdb | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sun Dec 01 14:09:16 2019 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sun Dec 01 15:18:19 2019 +0000 |
tree | bfa4bcf6e4832a3fe792e497bcca2146445cb124 | |
parent | 19b6304aee84644482ceb6a87f0ce09db9a8f714 [diff] |
drm/i915: Refactor gen6_flush_pd() As the gen6 page directory is written on binding and after every update, the code ended up duplicated. Refactor the code into a single routine to share the locking and serialisation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191201140916.2128905-1-chris@chris-wilson.co.uk