[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <76042970-34b0-87a9-6aac-5fa27a113e21@samsung.com>
Date: Fri, 7 Jun 2019 14:14:42 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Manuel Lauss <manuel.lauss@...il.com>,
Christoph Hellwig <hch@....de>
Cc: Linux-MIPS <linux-mips@...r.kernel.org>,
linux-fbdev <linux-fbdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] au1200fb: fix DMA API abuse
On 5/15/19 1:10 PM, Manuel Lauss wrote:
> Servus Christoph,
>
> On Thu, May 9, 2019 at 7:39 PM Christoph Hellwig <hch@....de> wrote:
>> Virtual addresses return from dma(m)_alloc_attrs are opaque in what
>> backs then, and drivers must not poke into them. Similarly caching
>> modes are not supposed to be directly set by the driver. Switch the
>> driver to use the generic DMA API mmap helper to avoid these problems.
>>
>> Signed-off-by: Christoph Hellwig <hch@....de>
>> ---
>> drivers/video/fbdev/au1200fb.c | 19 ++++---------------
>> 1 file changed, 4 insertions(+), 15 deletions(-)
>
> Runs fine on my test system.
>
> Tested-by: Manuel Lauss <manuel.lauss@...il.com>
Patch queued for v5.3, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists