[Mesa-dev] [PATCH] winsys/amdgpu: fix the type of memory usage counters
Alex Deucher
alexdeucher at gmail.com
Tue Aug 18 09:48:57 PDT 2015
On Tue, Aug 18, 2015 at 12:43 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
>
> ---
> src/gallium/winsys/amdgpu/drm/amdgpu_cs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
> index 0842259..12c6b62 100644
> --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
> +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
> @@ -77,8 +77,8 @@ struct amdgpu_cs {
>
> int buffer_indices_hashlist[512];
>
> - unsigned used_vram;
> - unsigned used_gart;
> + uint64_t used_vram;
> + uint64_t used_gart;
>
> unsigned max_dependencies;
> };
> --
> 2.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list