Re: sbusfb changes are wrong

From: David S. Miller (davem@redhat.com)
Date: Sun May 07 2000 - 14:36:45 EST


   Date: Sun, 7 May 2000 10:59:57 -0400 (EDT)
   From: James Simmons <jsimmons@acsu.buffalo.edu>

   What happened to if (fb->open) return -EBUSY; in sbusfb.c? This is
   wrong!!! Is this so brain dead apps like fbvt can work on this
   platform. Well it's heading in the wrong direction. I posted
   before why this is a bad idea. You should not allow multiple
   process access to /dev/fb at the same time. You are going to have
   problems!!!!

I have to allow it for DGA support in xfree86-4.0 etc. It will
also be needed to DRI/DRM direct 3d rendering support with Creator3d
et al.

What is the big deal?

With DGA and DRI/DRM the applications using the same fb device at
the same time have to use appropriate synchronization mechanisms to
access the device safely.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:21 EST