On Sun, Apr 05, 2020 at 10:47:49AM -0400, Alex Deucher wrote:
> On Fri, Mar 27, 2020 at 12:23 PM Marek Szyprowski
> wrote:
> >
> > Scatterlist elements contains both pages and DMA addresses, but one
> > should not assume 1:1 relation between them. The sg->length is the size
> > of the physical mem
On Fri, Mar 27, 2020 at 12:23 PM Marek Szyprowski
wrote:
>
> Scatterlist elements contains both pages and DMA addresses, but one
> should not assume 1:1 relation between them. The sg->length is the size
> of the physical memory chunk described by the sg->page, while
> sg_dma_len(sg) is the size of
; David Airlie
>; Shane Francis ;
>sta...@vger.kernel.org; Thomas Zimmermann ;
>Alex Deucher
>Subject: Re: [PATCH v2] drm/prime: fix extracting of the DMA addresses from
>a scatterlist
>
>Hi Michael,
>
>> Is there an example of what the scatterlist would look like in t
On 2020-03-29 10:55 am, Marek Szyprowski wrote:
Hi Michael,
On 2020-03-27 19:31, Ruhl, Michael J wrote:
-Original Message-
From: Marek Szyprowski
Sent: Friday, March 27, 2020 12:21 PM
To: dri-devel@lists.freedesktop.org; linux-samsung-...@vger.kernel.org;
linux-ker...@vger.kernel.org
C
Hi Michael,
On 2020-03-27 19:31, Ruhl, Michael J wrote:
>> -Original Message-
>> From: Marek Szyprowski
>> Sent: Friday, March 27, 2020 12:21 PM
>> To: dri-devel@lists.freedesktop.org; linux-samsung-...@vger.kernel.org;
>> linux-ker...@vger.kernel.org
>> Cc: Marek Szyprowski ;
>> sta...@v
On Fri, Mar 27, 2020 at 6:31 PM Ruhl, Michael J
wrote:
> Is there an example of what the scatterlist would look like in this case?
>
> Does each SG entry always have the page and dma info? or could you have
> entries that have page information only, and entries that have dma info only?
>
> If the
On Fri, Mar 27, 2020 at 05:21:26PM +0100, Marek Szyprowski wrote:
> Scatterlist elements contains both pages and DMA addresses, but one
> should not assume 1:1 relation between them. The sg->length is the size
> of the physical memory chunk described by the sg->page, while
> sg_dma_len(sg) is the s
>-Original Message-
>From: Marek Szyprowski
>Sent: Friday, March 27, 2020 12:21 PM
>To: dri-devel@lists.freedesktop.org; linux-samsung-...@vger.kernel.org;
>linux-ker...@vger.kernel.org
>Cc: Marek Szyprowski ;
>sta...@vger.kernel.org; Bartlomiej Zolnierkiewicz
>; Maarten Lankhorst
>; Maxim