[haiku-bugs] Re: [Haiku] #11137: Bad GTT initilization in agp_gart driver

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Tue, 19 Aug 2014 01:24:51 -0000

#11137: Bad GTT initilization in agp_gart driver
----------------------------------------------+----------------------------
   Reporter:  Eddy                            |      Owner:  axeld
       Type:  bug                             |     Status:  new
   Priority:  normal                          |  Milestone:  R1
  Component:  Drivers/Graphics/intel_extreme  |    Version:  R1/Development
 Resolution:                                  |   Keywords:
 Blocked By:                                  |   Blocking:
Has a Patch:  0                               |   Platform:  All
----------------------------------------------+----------------------------
Description changed by diver:

Old description:

> In the file src/add-ons/kernel/busses/agp_gart/intel_gart.cpp, the
> initialization of the info.gtt_entries is using a Page size as a divider
> while a gtt entry (PTE) is a DWORD.
> As a consequence the gtt is not initialized with the scratch_page.
> It is located line 439.

New description:

 In the file [http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/busses/agp_gart/intel_gart.cpp?id=575f2#n439 intel_gart.cpp],
 the initialisation of the info.gtt_entries is using a Page size as a
 divider while a gtt entry (PTE) is a DWORD.
 As a consequence the gtt is not initialised with the scratch_page.

--

--
Ticket URL: <https://dev.haiku-os.org/ticket/11137#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: