Re: [PATCH 2/4] drm/etnaviv: move MMU context ref/unref into map/unmap_gem

2022-03-24 Thread Philipp Zabel
On Mi, 2022-03-23 at 17:08 +0100, Lucas Stach wrote: > This makes it a little more clear that the mapping holds a reference > to the context once the buffer has been successfully mapped into that > context and simplifies the error handling a bit. > > Signed-off-by: Lucas Stach Reviewed-by: Phili

[PATCH 2/4] drm/etnaviv: move MMU context ref/unref into map/unmap_gem

2022-03-23 Thread Lucas Stach
This makes it a little more clear that the mapping holds a reference to the context once the buffer has been successfully mapped into that context and simplifies the error handling a bit. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 11 +++ drivers/gpu/drm/etnav