[Intel-gfx] [PATCH] drm/i915: Make lrc_init_wa_ctx compatible with ww locking, v3.

Thomas Hellström thomas.hellstrom at linux.intel.com
Mon Feb 1 13:03:49 UTC 2021


On 2/1/21 1:50 PM, Maarten Lankhorst wrote:
> Make creation separate from pinning, in order to take the lock only
> once, and pin the mapping with the lock held.
>
> Changes since v1:
> - Rebase on top of upstream changes.
> Changes since v2:
> - Fully clear wa_ctx on error.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> ---

LGTM.

Thomas




More information about the Intel-gfx mailing list