[Intel-gfx] [PATCH] drm/i915/vma: Move the bind_count vs pin_count assertion to a helper

Mika Kuoppala mika.kuoppala at linux.intel.com
Tue Jun 5 09:38:54 UTC 2018


Chris Wilson <chris at chris-wilson.co.uk> writes:

> To spare ourselves a long line later, refactor the repeated check of
> bind_count vs pin_count to a helper.
>
> Suggested-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Cc: Matthew Auld <matthew.william.auld at gmail.com>

Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>


More information about the Intel-gfx mailing list