From: CARLOS.PALMINHA@synopsys.com (Carlos Palminha)
To: linux-snps-arc@lists.infradead.org
Subject: Non existing DMA functions in ARC: dma_alloc_attrs, dma_free_attrs, dma_mmap_attrs
Date: Tue, 1 Dec 2015 19:39:30 +0000 [thread overview]
Message-ID: <565DF772.4060802@synopsys.com> (raw)
Hi guys,
I'm bringing up a new ARC PGU driver for DRM framework with latest kernel tree.
I'm using ARC AXS101 as a base and selected one the DRM required config: HAVE_DMA_ATTRS due to some memory allocation helpers in DRM.
I'm getting some errors with DMA functions not implemented in ARC: dma_alloc_attrs, dma_free_attrs, dma_mmap_attrs
Any clue?
Regards,
C.Palminha
---
include/linux/dma-mapping.h: In function ?dma_alloc_writecombine?:
include/linux/dma-mapping.h:283:2: error: implicit declaration of function ?dma_alloc_attrs? [-Werror=implicit-function-declaration]
return dma_alloc_attrs(dev, size, dma_addr, gfp, &attrs);
^
include/linux/dma-mapping.h:283:2: warning: return makes pointer from integer without a cast [enabled by default]
include/linux/dma-mapping.h: In function ?dma_free_writecombine?:
include/linux/dma-mapping.h:291:2: error: implicit declaration of function ?dma_free_attrs? [-Werror=implicit-function-declaration]
return dma_free_attrs(dev, size, cpu_addr, dma_addr, &attrs);
^
include/linux/dma-mapping.h:291:2: warning: ?return? with a value, in function returning void [enabled by default]
include/linux/dma-mapping.h: In function ?dma_mmap_writecombine?:
include/linux/dma-mapping.h:301:2: error: implicit declaration of function ?dma_mmap_attrs? [-Werror=implicit-function-declaration]
return dma_mmap_attrs(dev, vma, cpu_addr, dma_addr, size, &attrs);
next reply other threads:[~2015-12-01 19:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 19:39 Carlos Palminha [this message]
2015-12-02 6:32 ` Non existing DMA functions in ARC: dma_alloc_attrs, dma_free_attrs, dma_mmap_attrs Vineet Gupta
-- strict thread matches above, loose matches on Subject: below --
2015-12-02 13:19 Carlos Palminha
2015-12-03 0:24 ` Carlos Palminha
2015-12-03 3:57 ` Vineet Gupta
2015-12-10 0:10 ` Carlos Palminha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565DF772.4060802@synopsys.com \
--to=carlos.palminha@synopsys.com \
--cc=linux-snps-arc@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).