[haiku-bugs] Re: [Haiku] #9157: intel_extreme 1 pixel height resolution

  • From: "Sintendo" <trac@xxxxxxxxxxxx>
  • Date: Thu, 13 Dec 2012 23:37:50 -0000

#9157: intel_extreme 1 pixel height resolution
----------------------------------------------+-----------------------
   Reporter:  smoku                           |      Owner:  axeld
       Type:  bug                             |     Status:  new
   Priority:  normal                          |  Milestone:  R1
  Component:  Drivers/Graphics/intel_extreme  |    Version:  R1/alpha4
 Resolution:                                  |   Keywords:  1px
 Blocked By:                                  |   Blocking:
Has a Patch:  0                               |   Platform:  x86
----------------------------------------------+-----------------------

Comment (by Sintendo):

 I did some testing last summer and had previously reported some of my
 findings in #8796. According to what I've found, the bug was introduced in
 hrev42742. You can work around the bug by changing the following piece of
 code in {{{src/add-ons/accelerants/intel_extreme/mode.cpp}}} in the
 function {{{intel_set_display_mode}}} from this

 {{{
 if (sanitize_display_mode(target)) {
         TRACE(("intel_extreme: invalid mode set!"));
         return B_BAD_VALUE;
 }
 }}}

 to this

 {{{
 sanitize_display_mode(target);
 }}}

 Note that this obviously doesn't fix the underlying issue, which seems to
 be that the actual sanitizing logic is broken.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9157#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: