Hello.

I upgraded my kernel from 2.6.29 to 2.6.30.4. I was using intel KMS to get 
framebuffer console on my laptop. With 2.6.29 i got full 1280x800 
resulution.
Also console used whole space of my LVDS screen.

But after upgrade to 2.6.30.4 i got console only to 1024x768 but screen 
resolution is 1280x800. So i have unused place in right and bottom of my 
screen.
But with framebuffer applications i can use this space. (like fbtext of my 
own, because I am using fb_var.xres_virtual).

What has changed: Before I had not TVDAC output, nor modes for it like now. 
(modeprint, modetest output added on the end).
I have looked in kernel source (drivers/gpu/drm/i915/intel_fb.c) and there 
is something like
intelfb_single_fb_probe:

/* Smallest mode determines console size */


/* but largest from memeory allocation dimension */

In this code system looks from all crtcs and look for desired_mode and gets 
smallest for console.
So I assume that from TVDAC its desired_mode is 1024x768 so fb_width is 
changed to 1024.

But I have no TV connected, but connected state is not checked here.

What should I do to get whole console size usage (e.g. 1280x800), like 
before with no TVDAC.

Thanks, Peter.

modeprint:
Starting test
Resources

count_connectors : 3
count_encoders   : 3
count_crtcs      : 2
count_fbs        : 0

Connector: 1-1
 id             : 5
 encoder id     : 0
 conn           : disconnected
 size           : 0x0 (mm)
 count_modes    : 0
 count_props    : 2
 props          : 1 2
 count_encoders : 1
 encoders       : 6
Connector: 7-1
 id             : 7
 encoder id     : 8
 conn           : connected
 size           : 330x210 (mm)
 count_modes    : 1
 count_props    : 2
 props          : 1 2
 count_encoders : 1
 encoders       : 8
Mode: "1280x800" 1280x800 60
Connector: 6-1
 id             : 12
 encoder id     : 13
 conn           : disconnected
 size           : 0x0 (mm)
 count_modes    : 4
 count_props    : 7
 props          : 1 2 20 16 18 17 19
 count_encoders : 1
 encoders       : 13
Mode: "1024x768" 1024x768 30
Mode: "800x600" 800x600 30
Mode: "848x480" 848x480 30
Mode: "640x480" 640x480 30

Encoder
 id     :6
 crtc_id   :0
 type   :1
 possible_crtcs  :3
 possible_clones :1
Encoder
 id     :8
 crtc_id   :4
 type   :3
 possible_crtcs  :2
 possible_clones :2
Encoder
 id     :13
 crtc_id   :3
 type   :4
 possible_crtcs  :3
 possible_clones :4

Crtc
 id             : 3
 x              : 0
 y              : 0
 width          : 0
 height         : 0
 mode           : 0x804b254
 gamma size     : 256
Crtc
 id             : 4
 x              : 0
 y              : 0
 width          : 0
 height         : 0
 mode           : 0x804b254
 gamma size     : 256

Ok

modetest:

trying to load module i915...success.
Encoders:
id crtc type possible crtcs possible clones
6 0 DAC 0x00000003 0x00000001
8 4 LVDS 0x00000002 0x00000002
13 3 TVDAC 0x00000003 0x00000004

Connectors:
id encoder status  type size (mm) modes
5 0 disconnected VGA 0x0  0
7 8 connected LVDS 330x210  1
  modes:
  name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1280x800 60.00 1280 1296 1344 1408 800 801 804 816
  props:
 EDID, flags 20
 DPMS, flags 8
12 13 disconnected s-video 0x0  4
  modes:
  name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1024x768 29.97 1024 1025 1088 1120 768 769 800 801
  800x600 29.97 800 801 864 896 600 601 632 633
  848x480 29.97 848 849 912 944 480 481 512 513
  640x480 29.97 640 641 704 736 480 481 512 513
  props:
 EDID, flags 20

CRTCs:
id fb pos size
3 26 (0,0) (0x0)
  1024x768 29.97 1024 1025 1088 1120 768 769 800 801
4 26 (0,0) (0x0)
  1280x800 60.00 1280 1296 1344 1408 800 801 804 816

Frame buffers:
id size pitch





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to