Port-sparc64 archive

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

Re: Creator3D resolution switching



Hello, I made the following changes, however it didn't seem to make any difference

$ cvs diff -u sys/arch/sparc64/dev/ffb.c
Index: sys/arch/sparc64/dev/ffb.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc64/dev/ffb.c,v
retrieving revision 1.61
diff -u -r1.61 ffb.c
--- sys/arch/sparc64/dev/ffb.c	19 May 2017 19:25:53 -0000	1.61
+++ sys/arch/sparc64/dev/ffb.c	27 Mar 2018 18:53:32 -0000
@@ -260,7 +260,8 @@
 
 	/* Check if a console resolution "<device>:r<res>" is set. */
 	if (sc->sc_console) {
-		out_dev = prom_getpropstring(sc->sc_node, "output_device");
+		//out_dev = prom_getpropstring(sc->sc_node, "output_device");
+		out_dev = prom_getpropstring(sc->sc_node, "output-device");
 		if (out_dev != NULL && strlen(out_dev) != 0 &&
 		    strstr(out_dev, ":r") != NULL)
 			try_edid = 0;


Enabled FFB_DEBUG, does this look OK to you? Where does the "Video modes" list
come from, graphics card or the monitor/VGA adapter?


ffb0 at mainbus0 addr 0xfebee000: Creator3D, model SUNW,501-4788, dac 10
tgc: 0000002b
dcl: 00000110
ffb0: EDID data:
  00ffffff ffffff00 06c10101 64000000 08190103 0c734178 0acf74a3 574cb023
  09484c21 08008100 81809040 9500a940 b3000101 0101023a 80187138 2d40582c
  45001009 0000001e 011d0072 51d01e20 6e285500 c48e2100 001e7d4b 80a072b0
  2d4088c8 36002018 0000001a 0e1f0080 51001e30 40803700 10090000 001c00ad
Vendor: [AVA] 
Product: [0101] 
Serial number: 64000000
Manufactured 2015 Week 8
EDID Version 1.3
EDID Comment: 
Video Input: c
        Analog
        -0.7, 0.3V
        Seperate syncs
        Composite sync
Gamma: 2.20
Max Size: 115 cm x 65 cm
Features: a
        RGB
        Preferred timing
Chroma Info:
        Red X: 0.639
        Red Y: 0.639
        Grn X: 0.299
        Grn Y: 0.690
        Blu X: 0.137
        Blu Y: 0.038
        Wht X: 0.282
        Wht Y: 0.296
Video modes:
        1920x1080 @ 60Hz (148500 2008 2052 2200 1084 1089 1125 +H +V)
        1920x1200 @ 60Hz (193250 2056 2256 2592 1203 1209 1245 +H -V)
        1680x1050 @ 60Hz (147140 1784 1968 2256 1051 1054 1087 +H +V)
        1440x900 @ 60Hz (106470 1520 1672 1904 901 904 932 +H +V)
        1280x800 @ 60Hz (83462 1344 1480 1680 801 804 828 +-H +-V)
        1280x720 @ 60Hz (74250 1390 1430 1650 725 730 750 +H +V)
        1280x768 @ 60Hz (79500 1344 1472 1664 771 778 798 -H +V)
        1600x1200 @ 60Hz (162000 1664 1856 2160 1201 1204 1250 +H +V)
        1400x1050 @ 60Hz (122000 1488 1640 1880 1052 1064 1082 +H +V)
        1280x1024 @ 60Hz (108000 1328 1440 1688 1025 1028 1066 +H +V)
        1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V)
        800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V)
        640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V)
Preferred mode: 1920x1080 @ 60Hz
Number of extension blocks: 0
ffb_set_vmode: 1920x1080@60 (148500 2008 2052 2200 1084 1089 1125 +H +V)
ffb_set_vmode: 0x422c 0x0003 0x0008 0x0180 0x0033
        0x0028 0x0460 0x0004 0x0464
        0x021a 0x002f 0x020f 0x000a 0x0225 0x020b 0x002b
        0x0000 0x0000 0x0000
new tgc: 00000033
ffb0: video mode set to 1920 x 1080 @ 60Hz
ffb_ras_init: high resolution.
WID: 00000000
ffb_ras_init: fbc is 202875bf
ffb_init_screen: addr: 00000000
ffb0: attached to /dev/fb0
wsdisplay0 at ffb0 kbdmux 1: console (sunffb, vt100 emulation)
wsmux1: connecting to wsdisplay0
ffb_init_screen: addr: 00000000
ffb_init_screen: addr: 00000000
ffb_init_screen: addr: 00000000
wsdisplay0: screen 1-3 added (sunffb, vt100 emulation)

ffb_ioctl: ffb0 cmd _IOW('t', 92)
ffb_ioctl: ffb0 cmd _IOW('t', 92)
ffb_ioctl: ffb0 cmd _IOW('t', 92)
ffb_ioctl: ffb0 cmd _IOW('t', 92)
ffb_ioctl: ffb0 cmd _IOW('t', 92)
ffb_ioctl: ffb0 cmd _IOW('t', 92)


Home | Main Index | Thread Index | Old Index