[haiku-bugs] Re: [Haiku] #13535: Intel 865G wrong video mode

  • From: "idefix" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 May 2017 09:49:12 -0000

#13535: Intel 865G wrong video mode
----------------------------------------------+----------------------------
   Reporter:  idefix                          |      Owner:  kallisti5
       Type:  bug                             |     Status:  new
   Priority:  normal                          |  Milestone:  Unscheduled
  Component:  Drivers/Graphics/intel_extreme  |    Version:  R1/Development
 Resolution:                                  |   Keywords:
 Blocked By:                                  |   Blocking:
Has a Patch:  0                               |   Platform:  All
----------------------------------------------+----------------------------

Comment (by idefix):

 It looks like something is going wrong with the PLL calculation.

 hrev51177:
 {{{
 intel_extreme: intel_set_display_mode(1440x900)
 intel_extreme: IsConnected: Analog A PortRegister: 0x5001100
 intel_extreme: CALLED void Pipe::Enable(bool)
 AGP: create memory 0xcfe5cba0, base e0010000, size 4f2000, flags 0
 AGP: allocation is made of reserved memory
 AGP: reserved memory already bound
 intel_extreme: IsConnected: Analog A PortRegister: 0x5001100
 intel_extreme: SetDisplayMode: Analog A 1440x900
 intel_extreme: compute_dpll_9xx: required MHz: 106.5
 intel_extreme: PLL limits, min: p 5 (p1 1, p2 10), n 5, m 70 (m1 12, m2 7)
 intel_extreme: PLL limits, max: p 80 (p1 8, p2 5), n 10, m 120 (m1 22, m2
 11)
 intel_extreme: compute_dpll_9xx: best MHz: 3.96736e-12 (error: 106.5)
 intel_extreme: compute_pll_divisors: found: p = 1925768716 (p1 =
 1925768718, p2 = 1925768440), n = 10158872, m = 1617 (m1 = 1, m2 = 8)
 intel_extreme: CALLED void Pipe::ConfigureClocks(const pll_divisors &,
 long unsigned int, long unsigned int)
 intel_extreme: CALLED void Pipe::ConfigureTimings(display_mode *)
 intel_extreme: ConfigureTimings: fPipeOffset: 0x0
 KERN: intel_extreme: intel_set_display_mode: Port configuration completed
 successfully!
 }}}

 alpha-4.1:
 {{{
 intel_set_display_mode(1440x900)
 AGP: create memory 0xce5a7e60, base d0010000, size 4f2000, flags 0
 AGP: allocation is made of reserved memory
 AGP: reserved memory already bound
 PLL limits, min: p 4 (p1 2, p2 4), n 5, m 96 (m1 20, m2 8)
 PLL limits, max: p 128 (p1 33, p2 2), n 18, m 140 (m1 28, m2 18)
 required MHz: 106.5
 found: 106.4 MHz, p = 12 (p1 = 3, p2 = 4), n = 5, m = 133 (m1 = 25, m2 =
 8)
 intel_get_frame_buffer_config()
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/13535#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: