Messages in this thread | | | Date | Thu, 30 Aug 2001 16:31:29 -0700 (PDT) | Subject | Re: [UPDATE] 2.4.10-pre2 PCI64, API changes README | From | "David S. Miller" <> |
| |
From: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Fri, 31 Aug 2001 00:30:34 +0100 (BST)
That isnt done anyway - the card executes a risc instruction set for the DMA engine specifying which to skip and draw. So you feed it a base physical address for the fb via ioctl (yes this needs to be a pci device bar and offset I suspect) and then tell it about the fb layout and the like
We could do something interesting with /proc/bus/pci/bus/devfn nodes I suspect.
You open the target fb pci dev, and part of the argument to the video ioctl is:
int pci_dev_fd; int resource_num; u64 offset; u64 len;
Something like that.
Later, David S. Miller davem@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |