On Mon, 15 Jul 2024 18:35:51 +1000, Dave Airlie wrote:
> The test here creates an sg table, but never maps it, when
> we get to drm_gem_shmem_free, the helper tries to unmap and this
> causes warnings on some platforms and debug kernels.
>
> This also sets a 64-bit dma mask, as I see an swiotlb wa
On 2024-07-16 14:07, Ruhl, Michael J wrote:
>> -Original Message-
>> From: Daniel Vetter
>> Sent: Tuesday, July 16, 2024 5:34 AM
>> To: Ruhl, Michael J
>> Cc: Dave Airlie ; dri-devel@lists.freedesktop.org
>> Subject: Re: [PATCH] drm/test: fix th
>-Original Message-
>From: Daniel Vetter
>Sent: Tuesday, July 16, 2024 5:34 AM
>To: Ruhl, Michael J
>Cc: Dave Airlie ; dri-devel@lists.freedesktop.org
>Subject: Re: [PATCH] drm/test: fix the gem shmem test to map the sg table.
>
>On Mon, Jul 15, 2024 at 04:07:57P
On Mon, Jul 15, 2024 at 04:07:57PM +, Ruhl, Michael J wrote:
> >-Original Message-
> >From: dri-devel On Behalf Of Dave
> >Airlie
> >Sent: Monday, July 15, 2024 4:36 AM
> >To: dri-devel@lists.freedesktop.org
> >Subject: [PATCH] drm/test: fix th
>-Original Message-
>From: dri-devel On Behalf Of Dave
>Airlie
>Sent: Monday, July 15, 2024 4:36 AM
>To: dri-devel@lists.freedesktop.org
>Subject: [PATCH] drm/test: fix the gem shmem test to map the sg table.
>
>From: Dave Airlie
>
>The test here creates
From: Dave Airlie
The test here creates an sg table, but never maps it, when
we get to drm_gem_shmem_free, the helper tries to unmap and this
causes warnings on some platforms and debug kernels.
This also sets a 64-bit dma mask, as I see an swiotlb warning if I
stick with the default 32-bit one.
From: Dave Airlie
The test here creates an sg table, but never maps it, when
we get to drm_gem_shmem_free, the helper tries to unmap and this
causes warnings on some platforms and debug kernels.
For now, set the dma mask (to avoid swiotlb) and map the sgtable.
Fixes: 93032ae634d4 ("drm/test: ad