Dear all,

I connected a pencam (stv0680) to an ADS bitsy board.
I have added the driver for the stv0680 to the kernel, and everything is
fine, except that I get the message 'unable to map unsafe buffer'.

The buffer requested by the video driver is just over 77k.
sa1111_map_single() includes a comment
        /* we assume here that a buffer will never be >=64k */
and alloc_safe_buffer does not seem to like buffers over 16K.

I can get it to work by increasing SIZE_LARGE to 128 Kbyte, but
I have no idea whether that violates any page constraints or whether
that wastes a lot of memory.

Does anyone know a proper way to get around this error message?
Do I need an XL pool?  I use the 2.4.9 kernel (the last one patched
by ADS), but poking around in recent kernels suggests that this part
hasn't changed.

Thanks in advance,
  Henk Muller

University of Bristol, MV Building, Woodland Road, Bristol, BS8 1UB, UK.
+441179545137    http://www.cs.bris.ac.uk/~henkm/    [EMAIL PROTECTED]


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to