[Mesa-dev] [PATCH 1/7] i965: Move unmap_gtt before map_gtt
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Thu Apr 12 11:17:11 UTC 2018
Patches 1-6 are,
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
On 12/04/18 02:10, Chris Wilson wrote:
> Reorder code to avoid a forward declaration in the next patch.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> index 8d3ddd56544..f90d462b925 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> @@ -3080,6 +3080,12 @@ intel_miptree_unmap_raw(struct intel_mipmap_tree *mt)
> brw_bo_unmap(mt->bo);
> }
>
> +static void
> +intel_miptree_unmap_gtt(struct intel_mipmap_tree *mt)
> +{
> + intel_miptree_unmap_raw(mt);
> +}
> +
> static void
> intel_miptree_map_gtt(struct brw_context *brw,
> struct intel_mipmap_tree *mt,
> @@ -3127,12 +3133,6 @@ intel_miptree_map_gtt(struct brw_context *brw,
> x, y, map->ptr, map->stride);
> }
>
> -static void
> -intel_miptree_unmap_gtt(struct intel_mipmap_tree *mt)
> -{
> - intel_miptree_unmap_raw(mt);
> -}
> -
> static void
> intel_miptree_map_blit(struct brw_context *brw,
> struct intel_mipmap_tree *mt,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180412/3cc5e46b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180412/3cc5e46b/attachment-0001.sig>
More information about the mesa-dev
mailing list