[Intel-gfx] [PATCH 3/3] drm/i915: don't open code the pdpe/pml4e clearing

Michał Winiarski michal.winiarski at intel.com
Tue Dec 13 18:14:04 UTC 2016


On Tue, Dec 13, 2016 at 04:05:12PM +0000, Matthew Auld wrote:
> Now that it's obvious what the helpers do, we can simplify the code
> somewhat by using them when clearing the pdpe/pml4e with the relevant
> scratch entry.
> 
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_gem_gtt.c | 16 ++--------------
>  1 file changed, 2 insertions(+), 14 deletions(-)


More information about the Intel-gfx mailing list