[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAB2ybb_XiuW=5GeOepGjE8yNtV5rTxDfE09Ti8uaZnrsy9j1CQ@mail.gmail.com>
Date: Tue, 6 Mar 2012 16:03:26 +0530
From: "Semwal, Sumit" <sumit.semwal@...com>
To: Daniel Vetter <daniel.vetter@...ll.ch>
Cc: Rob Clark <robdclark@...il.com>, linaro-mm-sig@...ts.linaro.org,
LKML <linux-kernel@...r.kernel.org>,
DRI Development <dri-devel@...ts.freedesktop.org>,
linux-media@...r.kernel.org
Subject: Re: [PATCH 2/3] dma-buf: add support for kernel cpu access
Hi Daniel,
On Tue, Mar 6, 2012 at 12:27 AM, Daniel Vetter <daniel.vetter@...ll.ch> wrote:
> On Fri, Mar 2, 2012 at 23:24, Rob Clark <robdclark@...il.com> wrote:
>> Perhaps we should check somewhere for required dmabuf ops fxns (like
>> kmap_atomic here), rather than just calling unconditionally what might
>> be a null ptr. At least put it in the WARN_ON(), but it might be
>> nicer to catch a missing required fxns at export time, rather than
>> waiting for an importer to try and call it. Less likely that way, for
>> newly added required functions go unnoticed.
>>
>> (same comment applies below for the non-atomic variant.. and possibly
>> some other existing dmabuf ops)
>
> Agreed, I'll rework the patch to do that when rebasing onto Sumit's latest tree.
In addition, you'd not need to check for !dmabuf->ops since the export
should already catch it.
As I sent in the other mail a while back, could you please rebase on
for-next at git://git.linaro.org/people/sumitsemwal/linux-dma-buf.git
Best regards,
~Sumit.
> -Daniel
> --
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists