[PATCH] drm/amdkfd: clamp queue size to minimum
Kasiviswanathan, Harish
Harish.Kasiviswanathan at amd.com
Wed Feb 26 21:03:11 UTC 2025
[AMD Official Use Only - AMD Internal Distribution Only]
A minor comment. With that Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan at amd.com>
Please add pr_debug() comment stating that the size is incorrect.
-----Original Message-----
From: Cornwall, Jay <Jay.Cornwall at amd.com>
Sent: Wednesday, February 26, 2025 3:55 PM
To: Yat Sin, David <David.YatSin at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Kasiviswanathan, Harish <Harish.Kasiviswanathan at amd.com>
Subject: Re: [PATCH] drm/amdkfd: clamp queue size to minimum
On 2/25/2025 20:41, David Yat Sin wrote:
> If queue size is less than minimum, clamp it to minimum to prevent
> underflow when writing queue mqd.
>
> Signed-off-by: David Yat Sin <David.YatSin at amd.com>
Reviewed-by: Jay Cornwall <jay.cornwall at amd.com>
More information about the amd-gfx
mailing list