Index | Thread | Search

From:
Mark Kettenis <mark.kettenis@xs4all.nl>
Subject:
Re: wscons 256 colour support
To:
Crystal Kolipe <kolipe.c@exoticsilicon.com>
Cc:
tech@openbsd.org
Date:
Fri, 13 Jun 2025 14:58:09 +0200

Download raw body.

Thread
> Date: Fri, 13 Jun 2025 09:12:50 -0300
> From: Crystal Kolipe <kolipe.c@exoticsilicon.com>
> 
> On Fri, Jun 13, 2025 at 01:59:58PM +0200, Mark Kettenis wrote:
> > > Date: Fri, 13 Jun 2025 08:39:16 -0300
> > > From: Crystal Kolipe <kolipe.c@exoticsilicon.com>
> > > 
> > > On Fri, Jun 13, 2025 at 12:14:36PM +0100, Stuart Henderson wrote:
> > > > On 2025/06/13 03:20, Crystal Kolipe wrote:
> > > > > I would be very surprised if anybody was actually using display rotation on
> > > > > wscons.  The rotation code should probably be removed altogether.
> > > > 
> > > > This was used for Zaurus, IIRC. Not sure whether anything used it since.
> > > 
> > > Yes, it was originally only for Zaurus.
> > > 
> > > Later it was made configurable for other drivers, but looking at
> > > sys/dev/pci/drm/files.drm it seems that only inteldrm currently enables
> > > rasops_rotation.
> > > 
> > > I'm skeptical that it would be usable in practice because at least the
> > > underline code only supports 16bpp and I've not seen a dmesg posted to any of
> > > the lists in the last few years with inteldrm running at 16bpp.
> > 
> > Well, there are tablet-like laptops that have their panel mounted
> > sideways.  I have one and rotating the framebuffer is the only way to
> > use the machine without hurting my neck.
> 
> So just to confirm, you are actually using inteldrm with rotation on wscons?

Yes

> Or is this just in X11?

No

> If it's just in X11, the rotation code in wscons is doing nothing.

Correct