diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2019-07-05 22:52:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-06 10:21:31 +0100 |
commit | 50b38bc4d39aa6fa5639aabcccfb828c19b89278 (patch) | |
tree | bc4544bbec38cc1ec5a6fda7f5bd5a459378a185 /tools/scripts | |
parent | 73a8fdef5d6f525932a361104c0d46e5e2585c28 (diff) |
drm/i915/gtt: Introduce release_pd_entry
By encapsulating the locking upper level and used check for entry
into a helper function, we can use it in all callsites.
v2: get rid of atomic_reads on lower level clears (Chris)
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190705215204.4559-4-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions