mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Mansfield <lkml@dm.cobite.com>
To: Thomas Winischhofer <tw@webit.com>
Cc: <linux-kernel@vger.kernel.org>, <xpert@XFree86.Org>
Subject: Re: SiS 630 - framebuffer fixed
Date: Thu, 20 Dec 2001 10:26:03 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0112201019220.15155-100000@admin> (raw)
In-Reply-To: <3C21051E.DB2FB56@webit.com>

On Wed, 19 Dec 2001, Thomas Winischhofer wrote:

> 
> Hi,
> 
> after five days of struggle with reverse-engineered assembler code
> transformed to C, I could fix the SiS framebuffer driver for use with
> some LCD displays using a LVDS (Chromtel) video bridge. That is what
> most laptops use, as for example the Gericoms (and some Claveos I have
> heard).
> 
...
>  c) Always set the video memory to the maximum available. Low mem
> situations are not handled well by DRM/DRI.

I've actually been following your progress via the Xpert list archives.  
Good stuff.  I have an SiS 630 card not in a laptop, and I'll try your 
code out later.  But my question regards DRM and something mentioned on 
that list, TurboQueue...

When I use the DRM code with XFree 4.1 it usually freezes after about 30 
seconds or so (in the teapot demo - sooner with tuxracer) and I think I've 
tracked it down to the 'mWait3DCmdQueue' macro, which basically busy waits 
for a certain register value.  It just so happens that the TurboQueue code 
also happens to busy wait on this register, and it was causing hangs for 
you with just 2d code (right?).

Do you know anything about why these hangs were happening?

I'll try your code tonight (although sisfb has always worked for me!) and 
hopefully the CVS X code with DRM.  I'll let you know if it still works, 
and send you my X startup log.


David


-- 
/==============================\
| David Mansfield              |
| david@cobite.com             |
\==============================/


  reply	other threads:[~2001-12-20 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-19 21:22 Thomas Winischhofer
2001-12-20 15:26 ` David Mansfield [this message]
2001-12-20  9:24 Thomas Winischhofer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0112201019220.15155-100000@admin \
    --to=lkml@dm.cobite.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tw@webit.com \
    --cc=xpert@XFree86.Org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®