[Intel-gfx] [PATCH] drm/i915/gtt: Introduce release_pd_entry
Chris Wilson
chris at chris-wilson.co.uk
Fri Jul 5 16:31:05 UTC 2019
Quoting Chris Wilson (2019-07-05 16:07:13)
> From: Mika Kuoppala <mika.kuoppala at linux.intel.com>
>
> 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 at chris-wilson.co.uk>
> Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
A nice bit of needless duplicity eliminated.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list