[Mesa-stable] [Fwd: Re: [Mesa-dev] [PATCH 1/2] intel/isl: Use uint64_t to store total surface size]
Andres Gomez
agomez at igalia.com
Mon Jul 3 20:14:31 UTC 2017
Actually, forgot to add -stable into CC.
-------- Forwarded Message --------
From: Andres Gomez <agomez at igalia.com>
To: Anuj Phogat <anuj.phogat at gmail.com>, mesa-dev at lists.freedesktop.org
Subject: Re: [Mesa-dev] [PATCH 1/2] intel/isl: Use uint64_t to store
total surface size
Date: Mon, 03 Jul 2017 23:02:31 +0300
It looks like we could want these 2 into -stable (?)
On Tue, 2017-05-23 at 14:37 -0700, Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
> src/intel/isl/isl.c | 3 ++-
> src/intel/isl/isl.h | 2 +-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
> index f89f351..32aa698 100644
> --- a/src/intel/isl/isl.c
> +++ b/src/intel/isl/isl.c
> @@ -1362,7 +1362,8 @@ isl_surf_init_s(const struct isl_device *dev,
> &phys_slice0_sa, &row_pitch))
> return false;
>
> - uint32_t size, base_alignment;
> + uint32_t base_alignment;
> + uint64_t size;
> if (tiling == ISL_TILING_LINEAR) {
> size = row_pitch * total_h_el + pad_bytes;
>
> diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
> index 8131f45..99c99d4 100644
> --- a/src/intel/isl/isl.h
> +++ b/src/intel/isl/isl.h
> @@ -882,7 +882,7 @@ struct isl_surf {
> uint32_t samples;
>
> /** Total size of the surface, in bytes. */
> - uint32_t size;
> + uint64_t size;
>
> /** Required alignment for the surface's base address. */
> uint32_t alignment;
--
Br,
Andres
_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
--
Br,
Andres
More information about the mesa-stable
mailing list