[haiku-bugs] Re: [Haiku] #8457: Blank screen after boot on Radeon Mobility 4670 HD

  • From: "kvark" <trac@xxxxxxxxxxxx>
  • Date: Wed, 25 Sep 2013 23:06:04 -0000

#8457: Blank screen after boot on Radeon Mobility 4670 HD
------------------------------------------+----------------------------
   Reporter:  kvark                       |      Owner:  kallisti5
       Type:  bug                         |     Status:  new
   Priority:  normal                      |  Milestone:  R1
  Component:  Drivers/Graphics/radeon_hd  |    Version:  R1/Development
 Resolution:                              |   Keywords:  blank radeon
 Blocked By:                              |   Blocking:  7662
Has a Patch:  1                           |   Platform:  x86
------------------------------------------+----------------------------

Comment (by kvark):

 Thanks kallisti5, I'll test it in a couple of hours. I'm still convinced
 the pitch is not passed correctly though:
 Write32(CRT, regs->grphPitch, widthAligned);

 Shouldn't it look like that instead?:
 Write32(CRT, regs->grphPitch, widthAligned * bytesPerPixel);

 Also, the pitchMask computation should be changed to match this one:
 http://kerneldox.net/kdox-linux/d2/db3/radeon__fb_8c.html
 (look for radeon_align_pitch())
 With this code it would produce widthAligned==1408, exactly like on DRM.

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

Other related posts: