All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 25440] New: PATCH: fixes conflicting miptree definitions
@ 2009-12-04 10:35 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-25440-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-12-04 10:35 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

http://bugs.freedesktop.org/show_bug.cgi?id=25440

           Summary: PATCH: fixes conflicting miptree definitions
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/nouveau
        AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
        ReportedBy: rjgleits-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org


Created an attachment (id=31731)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=31731)
Patch to fix problem above

There is a conflict between the definitions of struct nv50_miptree and
nv[1-4]0_miptree + nv04_miptree. Note that nv50_miptree starts with struct
nouveau_miptree. Sometimes pipe_textures are cast to nouveau_miptree, although
the pt was part of a nv40_miptree (for example). This results in the bo field
pointing to an incorrect location, resulting in segfaults, etc. The patch does
not change the nv50 driver (or shouldn't). I have tested it on 7300 GT only. 

Best Wishes,

Bob Gleitsmann


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 25440] PATCH: fixes conflicting miptree definitions
       [not found] ` <bug-25440-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2009-12-06 17:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-12-06 17:36 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

http://bugs.freedesktop.org/show_bug.cgi?id=25440


Younes Manton <younes.m-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Younes Manton <younes.m-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>  2009-12-06 09:36:42 PST ---
Thanks. I came across this too and someone pointed me to this patch. We should
go back and clean this up so that all the drivers use the same base for
miptrees, but in the meantime I'll apply this as a workaround. Thanks again.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-06 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 10:35 [Bug 25440] New: PATCH: fixes conflicting miptree definitions bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-25440-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2009-12-06 17:36   ` [Bug 25440] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.