NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40643: wsfb/genfb doesn't restore palette on switch from X to console



The following reply was made to PR kern/40643; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: xsrc-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/40643: wsfb/genfb doesn't restore palette on switch from
 X to console
Date: Sat, 14 Feb 2009 14:29:19 -0500

 jmcneill%invisible.ca@localhost wrote:
 >> Description:
 >      When switching from X to console with genfb and xf86-video-wsfb, and
 >      genfb is running in 8bpp paletted mode, the standard rasops palette
 >      is not restored properly. Shutting down the X server restores the
 >      palette as expected.
 
 Looks like a genfb issue;
 
 If the bus glue provides an ioctl callback (as is the case with 
 genfb_pci), the generic WSDISPLAYIO_SMODE path is never called, from 
 genfb.c:genfb_ioctl():
 
      /* notify the bus backend */
      if (sc->sc_ops.genfb_ioctl)
        return sc->sc_ops.genfb_ioctl(sc, vs,
            cmd, data, flag, l);
 
 Cheers,
 Jared
 


Home | Main Index | Thread Index | Old Index