Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348334

Re: [PATCH v4 2/2] gpu: host1x: Set DMA ops on device creation

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/2] gpu: host1x: Set DMA ops on device creation
Date 2016-03-02 18:10 +0100
Message-ID <r8irE-2bo-17@gated-at.bofh.it> (permalink)
References <r6mzn-Sk-7@gated-at.bofh.it> <r6mzq-Sk-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Feb 26, 2016 at 06:06:53PM +0900, Alexandre Courbot wrote:
> Currently host1x-instanciated devices have their dma_ops left to NULL,
> which makes any DMA operation (like buffer import) on ARM64 fallback
> to the dummy_dma_ops and fail with an error.
> 
> This patch calls of_dma_configure() with the host1x node when creating
> such a device, so the proper DMA operations are set.
> 
> Suggested-by: Thierry Reding <thierry.reding@gmail.com>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> ---
>  drivers/gpu/host1x/bus.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

Thierry

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/2] gpu: host1x: Set DMA mask Alexandre Courbot <acourbot@nvidia.com> - 2016-02-26 10:10 +0100
  [PATCH v4 2/2] gpu: host1x: Set DMA ops on device creation Alexandre Courbot <acourbot@nvidia.com> - 2016-02-26 10:10 +0100
    Re: [PATCH v4 2/2] gpu: host1x: Set DMA ops on device creation Thierry Reding <thierry.reding@gmail.com> - 2016-03-02 18:10 +0100
  Re: [PATCH v4 1/2] gpu: host1x: Set DMA mask Thierry Reding <thierry.reding@gmail.com> - 2016-03-02 18:10 +0100

csiph-web