Download raw body.
radeondrm: use the common KMS console path on sparc64
> > I'm revisiting an old problem with the XVR100 on Sun Blade and other Sun > systems. The card uses the Radeon RV100, and its support in OpenBSD has a > variety of problems. > The current console implementation is completely broken as it stands on > the XVR100. Fixing the console is what's needed first. I'm going to try > to remove as much of the sparc64 specific code as possible. Doing that > already helps a lot, since the console becomes readable, although the > console text is still blurred. The small byte order fix included in this > patch corrects the colours to show a white background with black text. > > radeondrm_setpal(rdev, ri); > ri->ri_flg = RI_CENTER | RI_VCONS | RI_WRONLY; > +#ifdef __sparc64__ > + ri->ri_flg |= RI_BSWAP; > +#endif > rasops_init(ri, 160, 160); > > ri->ri_hw = rdev; > -#endif > This feels like it should be guarded by an ifdef based on if the platform is big endian or not, and not just sparc64. -- May the most significant bit of your life be positive.
radeondrm: use the common KMS console path on sparc64