mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 08:10:11 +01:00
nouveau: fix typo
This commit is contained in:
parent
a8a7106cda
commit
9c7137483d
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ nouveau_sgdma_populate(struct drm_ttm_backend *be, unsigned long num_pages,
|
||||||
NV_CTXDMA_PAGE_SIZE,
|
NV_CTXDMA_PAGE_SIZE,
|
||||||
PCI_DMA_BIDIRECTIONAL);
|
PCI_DMA_BIDIRECTIONAL);
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
|
||||||
if (pci_dma_mapping_error(be->dev->pdev, nvbe->pagelist[d])) {
|
if (pci_dma_mapping_error(nvbe->dev->pdev,
|
||||||
|
nvbe->pagelist[d])) {
|
||||||
#else
|
#else
|
||||||
if (pci_dma_mapping_error(nvbe->pagelist[d])) {
|
if (pci_dma_mapping_error(nvbe->pagelist[d])) {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue