search for: pci_cap_id_agp

Displaying 3 results from an estimated 3 matches for "pci_cap_id_agp".

2014 Jul 31
2
[PATCH v5] drm/nouveau: map pages using DMA API
...b/lib/core/os.h @@ -644,7 +644,7 @@ dma_free_coherent(struct device *dev, size_t sz, void *vaddr, dma_addr_t bus) *****************************************************************************/ #include <pciaccess.h> -#define PCI_DMA_BIDIRECTIONAL 1 +#define DMA_BIDIRECTIONAL 1 #define PCI_CAP_ID_AGP 0x02 @@ -688,7 +688,7 @@ pci_resource_len(struct pci_dev *pdev, int bar) } static inline dma_addr_t -pci_map_page(struct pci_dev *pdev, struct page *page, int offset, +dma_map_page(struct device *pdev, struct page *page, int offset, int length, unsigned flags) { return 0; @@ -696,13...
2016 Oct 06
6
[PATCH v5 0/3] drm/nouveau: set DMA mask before mapping scratch page
This v4 is now a 3 piece series (since v4), after Alexandre pointed out that both GF 100 and NV50 are affected by the same issue, and that a related issue has been solved already for Tegra in commit 9d0394c6bed5 ("drm/nouveau/instmem/gk20a: set DMA mask early"). The issue that this series addresses is the fact that the Nouveau driver invokes the DMA API before setting the DMA mask. In
2014 Aug 04
0
[PATCH v5] drm/nouveau: map pages using DMA API
...dma_free_coherent(struct device *dev, size_t sz, void *vaddr, dma_addr_t bus) > *****************************************************************************/ > #include <pciaccess.h> > > -#define PCI_DMA_BIDIRECTIONAL 1 > +#define DMA_BIDIRECTIONAL 1 > > #define PCI_CAP_ID_AGP 0x02 > > @@ -688,7 +688,7 @@ pci_resource_len(struct pci_dev *pdev, int bar) > } > > static inline dma_addr_t > -pci_map_page(struct pci_dev *pdev, struct page *page, int offset, > +dma_map_page(struct device *pdev, struct page *page, int offset, > int length, u...