Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Wed, 26 Aug 1998 23:14:44 +1000

Re: UMA problem

Sengan writes:

>  When running xf68_dev I noticed that it appeared
>  to be writing into the compression buffer which is
>  stored after the uncompressed frame buffer on the
>  MediaGX... which of course screws things up nicely.
>  
>  In general games might want to store data in the space
>  between the end of the used screen memory and
>  fb_fix_screeninfo.smem_start+smem_len... which will
>  cause badness on the MediaGX.
>  
>  So I need to be able to tell the fb device that the
>  framebuffer just changed size... or at least prevent
>  the memmapping to take over the whole memory
>  space.

fbcon-kgi.c gets the smem_len size from mmio->psize, so the easiest
thing would be setting that to something smaller in the MediaGX driver
(so that programs don't clobber those special bits).

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

Index: [thread] [date] [subject] [author]