Skip to contentSkip to conversation

special video mode numbers

DISCUSSION Jan Beulich 3 participants 4 messages Jun 19, 2007 – Jul 19, 2007

lore
Share & tools
lore
#0 lore raw

Keir,

is there a particular reason you chose to use slightly different special mode numbers than Linux, ignoring VIDEO_CURRENT_MODE altogether? I think it wouldn't be bad to be in sync with Linux here, and I independently think that having a way to avoid mode switching altogether is good to have in case of possible problems on exotic hardware.

Jan

#1 lore raw
Quoted 5 lines · Jan Beulich

is there a particular reason you chose to use slightly different special mode numbers than Linux, ignoring VIDEO_CURRENT_MODE altogether? I think it wouldn't be bad to be in sync with Linux here, and I independently think that having a way to avoid mode switching altogether is good to have in case of possible problems on exotic hardware.

You mean specifically put back usual meanings of 0xffff,0xfffe, and also include 'current' back into the special list at the correct place in the range starting from 0x0f00? Sounds reasonable, I just doubted anyone really uses those numbers. Getting back the 'use current' capability certainly seems reasonable.

There's a slight question of what to do if 'no-real-mode' is specified. Currently I assume 80x25 and hope that noone will really need to use that boot option in anger! Another would be to assume nothing and not allow any usage of vga at all.

-- Keir

#2 lore raw
In reply to Jan Beulich

On the same line of thought,

Is it possible to change default mode to one of vesa modes (118 or 11b) instead of text mode?
If so, (in 3.0.4) setup-xen.c, what does video_mode 3 means? Is it the correct place to make this change?

I don't see screen_info used beyond dom0_init_screen_info, is this code deprecated?

-Kaushik

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jan Beulich
Sent: Tuesday, June 19, 2007 5:03 AM
To: Keir Fraser
Cc: [email protected]
Subject: [Xen-devel] special video mode numbers

Keir,

is there a particular reason you chose to use slightly different special mode
numbers than Linux, ignoring VIDEO_CURRENT_MODE altogether? I think it wouldn't be bad to be in sync with Linux here, and I independently think
that having a way to avoid mode switching altogether is good to have in case of possible problems on exotic hardware.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

The code to actually use the vesa framebuffer as a text console is not yet there. Jan is currently working on a patch.

-- Keir

Quoted 37 lines · Kaushik Barde

On the same line of thought,

Is it possible to change default mode to one of vesa modes (118 or 11b) instead of text mode?
If so, (in 3.0.4) setup-xen.c, what does video_mode 3 means? Is it the correct place to make this change?

I don't see screen_info used beyond dom0_init_screen_info, is this code deprecated?

-Kaushik

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jan Beulich
Sent: Tuesday, June 19, 2007 5:03 AM
To: Keir Fraser
Cc: [email protected]
Subject: [Xen-devel] special video mode numbers

Keir,

is there a particular reason you chose to use slightly different special mode
numbers than Linux, ignoring VIDEO_CURRENT_MODE altogether? I think it wouldn't be bad to be in sync with Linux here, and I independently think
that having a way to avoid mode switching altogether is good to have in case of possible problems on exotic hardware.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel