NetBSD-Bugs archive

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

Re: kern/49254: drmkms on pineview (intel)



The following reply was made to PR kern/49254; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/49254: drmkms on pineview (intel)
Date: Sat, 4 Oct 2014 14:21:57 +0100

 If instead of using the DVI connection, I connect to the same monitor but
 via VGA, the correct resolution is found:
 
 intelfb0: framebuffer at 0xffff800024b83000, size 1680x1050, depth 32, stride 6720
 
 X still uses the low resolution. Worry about DVI vs VGA first, and X later?
 
 Diff of kernel output  - DVI above + VGA now:
 
 
 @@ -285,17 +384,30 @@
  DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:12:VGA-1]
  DRM debug in intel_crt_detect: [CONNECTOR:12:VGA-1] force=1
  DRM debug in intel_crt_detect: CRT detected via hotplug
 -DRM debug in gmbus_xfer: GMBUS [i915 gmbus vga] NAK for addr: 0050 r(1)
 -DRM debug in drm_do_probe_ddc_edid: drm: skipping non-existent adapter i915 gmbus vga
 -DRM debug in intel_crt_get_edid: CRT GMBUS EDID read failed, retry using GPIO bit-banging
 -DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus vga. force bit now 1
 -DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus vga. force bit now 0
 +DRM debug in drm_edid_to_eld: ELD: no CEA Extension found
  DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:12:VGA-1] probed modes :
 -DRM debug in drm_mode_debug_printmodeline: Modeline 19:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
 -DRM debug in drm_mode_debug_printmodeline: Modeline 17:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
 -DRM debug in drm_mode_debug_printmodeline: Modeline 16:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
 -DRM debug in drm_mode_debug_printmodeline: Modeline 18:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
 -DRM debug in drm_mode_debug_printmodeline: Modeline 15:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 16:"1680x1050" 60 146000 1680 1784 1960 2240 1050 1053 1059 1089 0x48 0x9
 +DRM debug in drm_mode_debug_printmodeline: Modeline 23:"1600x1200" 75 202500 1600 1664 1856 2160 1200 1201 1204 1250 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 21:"1600x1200" 60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 22:"1680x1050" 75 187000 1680 1800 1976 2272 1050 1053 1059 1099 0x40 0x6
 +DRM debug in drm_mode_debug_printmodeline: Modeline 31:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 20:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 19:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 18:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 17:"1152x864" 70 96728 1152 1224 1344 1536 864 865 868 900 0x0 0x6
 +DRM debug in drm_mode_debug_printmodeline: Modeline 32:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 33:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 34:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 35:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 36:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 37:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 24:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 25:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
 +DRM debug in drm_mode_debug_printmodeline: Modeline 26:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 27:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 28:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 29:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 30:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
  DRM debug in drm_setup_crtcs: 
  DRM debug in drm_enable_connectors: connector 8 enabled? yes
  DRM debug in drm_enable_connectors: connector 12 enabled? yes
 @@ -309,23 +421,23 @@
  DRM debug in drm_target_preferred: found mode 1024x768
  DRM debug in drm_target_preferred: looking for cmdline mode on connector 12
  DRM debug in drm_target_preferred: looking for preferred mode on connector 12
 -DRM debug in drm_target_preferred: found mode 1024x768
 +DRM debug in drm_target_preferred: found mode 1680x1050
  DRM debug in drm_setup_crtcs: picking CRTCs for 4096x4096 config
  DRM debug in drm_setup_crtcs: desired mode 1024x768 set on crtc 7
 -DRM debug in drm_setup_crtcs: desired mode 1024x768 set on crtc 5
 +DRM debug in drm_setup_crtcs: desired mode 1680x1050 set on crtc 5
  DRM debug in intelfb_create: no BIOS fb, allocating a new one
 -DRM debug in drm_framebuffer_reference: FB ID: 22
 +DRM debug in drm_framebuffer_reference: FB ID: 40
  intelfb0 at i915drmkms0
  intelfb0: WARNING: power management not supported
 -DRM debug in intelfb_create: allocated 1024x768 fb: 0x00030000, bo 0xfffffe8043ae48c0
 +DRM debug in intelfb_create: allocated 1680x1050 fb: 0x00030000, bo 0xfffffe8043ae48c0
  i915drmkms0: info: registered panic notifier
 -intelfb0: framebuffer at 0xffff800024b83000, size 1024x768, depth 32, stride 4096
 +intelfb0: framebuffer at 0xffff800024b83000, size 1680x1050, depth 32, stride 6720
  DRM debug in intel_crtc_cursor_set: cursor off
 -DRM debug in intel_crtc_set_config: [CRTC:5] [FB:22] #connectors=1 (x y) (0 0)
 +DRM debug in intel_crtc_set_config: [CRTC:5] [FB:40] #connectors=1 (x y) (0 0)
  DRM debug in intel_set_config_compute_mode_changes: inactive crtc, full mode set
  DRM debug in intel_set_config_compute_mode_changes: modes are different, full mode set
  DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
 -DRM debug in drm_mode_debug_printmodeline: Modeline 21:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 39:"1680x1050" 60 146000 1680 1784 1960 2240 1050 1053 1059 1089 0x48 0x9
  DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:5], mode_changed=1, fb_changed=0
  DRM debug in intel_modeset_stage_output_state: [CONNECTOR:8:LVDS-1] to [CRTC:7]
  DRM debug in intel_modeset_stage_output_state: [CONNECTOR:12:VGA-1] to [CRTC:5]
 @@ -340,31 +452,31 @@
  DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
  DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
  DRM debug in intel_dump_pipe_config: requested mode:
 -DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1680x1050" 60 146000 1680 1784 1960 2240 1050 1053 1059 1089 0x48 0x9
  DRM debug in intel_dump_pipe_config: adjusted mode:
 -DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
 -DRM debug in intel_dump_crtc_timings: crtc timings: 65000 1024 1048 1184 1344 768 771 777 806, type: 0x40 flags: 0xa
 -DRM debug in intel_dump_pipe_config: port clock: 65000
 -DRM debug in intel_dump_pipe_config: pipe src size: 1024x768
 +DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1680x1050" 60 146000 1680 1784 1960 2240 1050 1053 1059 1089 0x48 0x9
 +DRM debug in intel_dump_crtc_timings: crtc timings: 146000 1680 1784 1960 2240 1050 1053 1059 1089, type: 0x48 flags: 0x9
 +DRM debug in intel_dump_pipe_config: port clock: 146000
 +DRM debug in intel_dump_pipe_config: pipe src size: 1680x1050
  DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
  DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
  DRM debug in intel_dump_pipe_config: ips: 0
  DRM debug in intel_dump_pipe_config: double wide: 0
 -DRM debug in drm_calc_timestamping_constants: crtc 5: hwmode: htotal 1344, vtotal 806, vdisplay 768
 -DRM debug in drm_calc_timestamping_constants: crtc 5: clock 65000 kHz framedur 16665600 linedur 20676, pixeldur 15
 +DRM debug in drm_calc_timestamping_constants: crtc 5: hwmode: htotal 2240, vtotal 1089, vdisplay 1050
 +DRM debug in drm_calc_timestamping_constants: crtc 5: clock 146000 kHz framedur 16707945 linedur 15342, pixeldur 6
  DRM debug in drm_vblank_get: enabling vblank on crtc 0, ret: -22
 -DRM debug in i9xx_update_primary_plane: Writing base 00030000 00000000 0 0 4096
 -DRM debug in intel_crtc_mode_set: [ENCODER:13:DAC-13] set [MODE:0:1024x768]
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 24
 -DRM debug in intel_calculate_wm: FIFO watermark level: 478
 -DRM debug in pineview_update_wm: DSPFW1 register is ef030f0f
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 26
 -DRM debug in intel_calculate_wm: FIFO watermark level: 481
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 146
 -DRM debug in intel_calculate_wm: FIFO watermark level: 356
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 148
 -DRM debug in intel_calculate_wm: FIFO watermark level: 359
 -DRM debug in pineview_update_wm: DSPFW3 register is 3f3f0164
 +DRM debug in i9xx_update_primary_plane: Writing base 00030000 00000000 0 0 6720
 +DRM debug in intel_crtc_mode_set: [ENCODER:13:DAC-13] set [MODE:0:1680x1050]
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 54
 +DRM debug in intel_calculate_wm: FIFO watermark level: 448
 +DRM debug in pineview_update_wm: DSPFW1 register is e0030f0f
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 58
 +DRM debug in intel_calculate_wm: FIFO watermark level: 449
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 328
 +DRM debug in intel_calculate_wm: FIFO watermark level: 174
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 332
 +DRM debug in intel_calculate_wm: FIFO watermark level: 175
 +DRM debug in pineview_update_wm: DSPFW3 register is 3f3f00ae
  DRM debug in pineview_update_wm: Self-refresh is enabled
  DRM debug in intel_connector_check_state: [CONNECTOR:8:LVDS-1]
  DRM debug in intel_connector_check_state: [CONNECTOR:12:VGA-1]
 @@ -372,13 +484,13 @@
  DRM debug in check_encoder_state: [ENCODER:13:DAC-13]
  DRM debug in check_crtc_state: [CRTC:5]
  DRM debug in check_crtc_state: [CRTC:7]
 -DRM debug in drm_framebuffer_reference: FB ID: 22
 +DRM debug in drm_framebuffer_reference: FB ID: 40
  DRM debug in intel_crtc_cursor_set: cursor off
 -DRM debug in intel_crtc_set_config: [CRTC:7] [FB:22] #connectors=1 (x y) (0 0)
 +DRM debug in intel_crtc_set_config: [CRTC:7] [FB:40] #connectors=1 (x y) (0 0)
  DRM debug in intel_set_config_compute_mode_changes: inactive crtc, full mode set
  DRM debug in intel_set_config_compute_mode_changes: modes are different, full mode set
  DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
 -DRM debug in drm_mode_debug_printmodeline: Modeline 20:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
 +DRM debug in drm_mode_debug_printmodeline: Modeline 38:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
  DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:7], mode_changed=1, fb_changed=0
  DRM debug in intel_modeset_stage_output_state: [CONNECTOR:8:LVDS-1] to [CRTC:7]
  DRM debug in intel_modeset_stage_output_state: [CONNECTOR:12:VGA-1] to [CRTC:5]
 @@ -405,21 +517,21 @@
  DRM debug in intel_panel_actually_set_backlight: set backlight PWM = 0
  DRM debug in drm_calc_vbltimestamp_from_scanoutpos: crtc 1: Noop due to uninitialized mode.
  DRM debug in i9xx_pfit_disable: disabling pfit, current: 0x80006668
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 24
 -DRM debug in intel_calculate_wm: FIFO watermark level: 478
 -DRM debug in pineview_update_wm: DSPFW1 register is ef030f0f
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 26
 -DRM debug in intel_calculate_wm: FIFO watermark level: 481
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 146
 -DRM debug in intel_calculate_wm: FIFO watermark level: 356
 -DRM debug in intel_calculate_wm: FIFO entries required for mode: 148
 -DRM debug in intel_calculate_wm: FIFO watermark level: 359
 -DRM debug in pineview_update_wm: DSPFW3 register is 7f3f0164
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 54
 +DRM debug in intel_calculate_wm: FIFO watermark level: 448
 +DRM debug in pineview_update_wm: DSPFW1 register is e0030f0f
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 58
 +DRM debug in intel_calculate_wm: FIFO watermark level: 449
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 328
 +DRM debug in intel_calculate_wm: FIFO watermark level: 174
 +DRM debug in intel_calculate_wm: FIFO entries required for mode: 332
 +DRM debug in intel_calculate_wm: FIFO watermark level: 175
 +DRM debug in pineview_update_wm: DSPFW3 register is 7f3f00ae
  DRM debug in pineview_update_wm: Self-refresh is enabled
  DRM debug in drm_calc_timestamping_constants: crtc 7: hwmode: htotal 1344, vtotal 806, vdisplay 768
  DRM debug in drm_calc_timestamping_constants: crtc 7: clock 65000 kHz framedur 16665600 linedur 20676, pixeldur 15
  DRM debug in drm_vblank_get: enabling vblank on crtc 1, ret: -22
 -DRM debug in i9xx_update_primary_plane: Writing base 00030000 00000000 0 0 4096
 +DRM debug in i9xx_update_primary_plane: Writing base 00030000 00000000 0 0 6720
  DRM debug in intel_crtc_mode_set: [ENCODER:9:LVDS-9] set [MODE:0:1024x768]
  DRM debug in pineview_update_wm: Self-refresh is disabled
  DRM debug in intel_panel_enable_backlight: pipe B
 @@ -430,15 +542,253 @@
  DRM debug in check_encoder_state: [ENCODER:13:DAC-13]
  DRM debug in check_crtc_state: [CRTC:5]
  DRM debug in check_crtc_state: [CRTC:7]
 -DRM debug in drm_framebuffer_reference: FB ID: 22
 -DRM debug in drm_framebuffer_unreference: FB ID: 22
 -DRM debug in drm_framebuffer_reference: FB ID: 22
 +DRM debug in drm_framebuffer_reference: FB ID: 40
 +DRM debug in drm_framebuffer_unreference: FB ID: 40
 +DRM debug in drm_framebuffer_reference: FB ID: 40
  wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
  wsmux1: connecting to wsdisplay0
  Intel Pineview Integrated Graphics Device (miscellaneous display, revision 0x02) at pci0 dev 2 function 1 not configured
 


Home | Main Index | Thread Index | Old Index