, Christian
; Kim, Jonathan ; Huang, Tim
Subject: Re: [PATCH 8/8] drm/amdkfd: remove dead code in
kfd_create_vcrat_image_gpu
On 2024-05-29 23:50, Jesse Zhang wrote:
Since the value of avail_size is at least VCRAT_SIZE_FOR_GPU(16384),
minus struct crat_header(40UL) and struct crat_subtype_compute(40UL
: [PATCH 8/8] drm/amdkfd: remove dead code in
kfd_create_vcrat_image_gpu
On 2024-05-29 23:50, Jesse Zhang wrote:
> Since the value of avail_size is at least VCRAT_SIZE_FOR_GPU(16384),
> minus struct crat_header(40UL) and struct crat_subtype_compute(40UL) it
> cannot be less than 0.
>
>
On 2024-05-29 23:50, Jesse Zhang wrote:
Since the value of avail_size is at least VCRAT_SIZE_FOR_GPU(16384),
minus struct crat_header(40UL) and struct crat_subtype_compute(40UL) it cannot
be less than 0.
Signed-off-by: Jesse Zhang
---
drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 6 --
1 fi
Since the value of avail_size is at least VCRAT_SIZE_FOR_GPU(16384),
minus struct crat_header(40UL) and struct crat_subtype_compute(40UL) it cannot
be less than 0.
Signed-off-by: Jesse Zhang
---
drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drive