[PATCH 1/2] gpu: host1x: Correct allocated size for contexts
Thierry Reding
thierry.reding at gmail.com
Wed Oct 11 20:44:39 UTC 2023
On Fri, Sep 01, 2023 at 02:59:09PM +0300, Mikko Perttunen wrote:
> From: Johnny Liu <johnliu at nvidia.com>
>
> Original implementation over allocates the memory size for the
> contexts list. The size of memory for the contexts list is based
> on the number of iommu groups specified in the device tree.
>
> Fixes: 8aa5bcb61612 ("gpu: host1x: Add context device management code")
> Signed-off-by: Johnny Liu <johnliu at nvidia.com>
> Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com>
> ---
> drivers/gpu/host1x/context.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Both patches applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20231011/502d29a5/attachment.sig>
More information about the dri-devel
mailing list