[Top] [All Lists]

Re: [directfb-dev] Usage of mmap command

To: kaka <>
Subject: Re: [directfb-dev] Usage of mmap command
From: Denis Oliver Kropp <>
Date: Tue, 20 Nov 2007 09:29:35 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Thunderbird (X11/20070803)
kaka wrote:
> Hi All,
> void *mmap(void *start, size_t length, int prot, int flags,           int
> fd, off_t offset);
> I am providing 16,00,000 as length parameter in mmap command.
> It is giving me error as Can't mmap region. on the other hand when i am
> providing 9,00,000 as length parameter in mmap command.
> It is successful.
> This mmap command is being issued from User space.
> On the other hand in the framebuffer driver in the kernel spce i have
> specified the length of mmio in the ioremap as 16,00,000.

The ioremap() is independent of the values propagated to user space
and fbmem.c via fix.mmio_start and fix.mmio_len, please check these.

Best regards,
  Denis Oliver Kropp

| DirectFB - Hardware accelerated graphics |
|                 |

<Prev in Thread] Current Thread [Next in Thread>