From owner-freebsd-multimedia Thu Aug 13 18:58:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29780 for freebsd-multimedia-outgoing; Thu, 13 Aug 1998 18:58:44 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29763 for ; Thu, 13 Aug 1998 18:58:42 -0700 (PDT) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.1/8.9.1) with ESMTP id VAA11299; Thu, 13 Aug 1998 21:58:03 -0400 (EDT) (envelope-from louie@whizzo.transsys.com) Message-Id: <199808140158.VAA11299@whizzo.transsys.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Roger Hardiman cc: Scott Mitchell , multimedia@FreeBSD.ORG From: "Louis A. Mamakos" Subject: Re: FXTV and DGA References: <35D2E663.7AF0@cs.strath.ac.uk> <19980813160216.B6924@dcs.qmw.ac.uk> <35D31170.2781@cs.strath.ac.uk> In-reply-to: Your message of "Thu, 13 Aug 1998 17:16:48 BST." <35D31170.2781@cs.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Aug 1998 21:58:03 -0400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Scott > > > > This may be a dumb suggestion (I don't use fxtv so I have no idea if > > this will work or not), but couldn't the driver be made into an LKM? > > Funny you should mention it, but Amancio, Randall and later myself > talked about this around 8 months ago. > > The problem was basically this. > You need to allocate configuous memory for the frame buffer. > > At boot time, this is easy. Memory is empty and you can allocate > a 864k block of memory with no gaps in it. > However, I was told that by the time the system has booted, > and the LKM executed, there is quite possible you cannot get a > contiguous block of memory as the memory is fragmented. > > Basically, you need a memeory manager that can shift memory blocks > around making a large space. > > I was told the current memory management code cannot do this. > > > But if we could do it, then the LKM would be great. The alternative approach is to allocate some number of smaller (pagesize?) buffers, and then build a command program for the Bt848 to do a scatter read into the discountinuous buffers. This might obviate the need for a static buffer in any case. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message