Date: Tue, 17 Mar 2009 18:24:27 -0500 (CDT) From: Greg Rivers <gcr+freebsd-stable@tharned.org> To: Robert Noland <rnoland@freebsd.org> Cc: freebsd-x11 <freebsd-x11@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: [HEADS UP] drm merged to -STABLE Message-ID: <alpine.BSF.2.00.0903171801250.34773@roadkill.tharned.org> In-Reply-To: <1237318671.1728.7.camel@balrog.2hip.net> References: <1231599679.1837.13.camel@wombat.2hip.net> <alpine.BSF.2.00.0903171011540.30152@roadkill.tharned.org> <1237318671.1728.7.camel@balrog.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, 17 Mar 2009, Robert Noland wrote: > On Tue, 2009-03-17 at 12:20 -0500, Greg Rivers wrote: >> On Sat, 10 Jan 2009, Robert Noland wrote: >> >>> I just merged drm (Direct Rendering) from HEAD. >>> >>> - Support for latest Intel chips >>> - Support and fixes for many AMD/ATI chips r500 and below >>> - Support AMD/ATI IGP based chips (rs690/rs485) >>> - Lots of code cleanups >>> - Lots of other fixes and changes since the existing drm >>> is 2+ years old >>> >>> If you are experiencing a "garbled" screen with certain pci/pci-e based >>> radeons, I have another patch in HEAD that isn't included yet. >>> >> >> I have a workstation with a [Radeon X600 (PCIE)] card. The X display has >> been garbled since these DRM updates went in in January, and remains >> garbled with 7.1-STABLE as of yesterday. As a work-around, I'm running >> the up-to-date 7.1-STABLE system (both world and ports) with a >> 7.1-RELEASE-p2 kernel. The display is fine with the old kernel and X >> works great; I even see dramatically improved performance with the new >> Xorg and EXA acceleration. Your work is much appreciated. >> >> But the garbled display with the recent DRM still plagues me. >> >> [snip] > > Could you try the attached patch. > Unfortunately, there is no noticeable difference with this patch. > Also, I'm guessing that this is a PCI based card, right? Also, it isn't > an integrated model? > Yes, this is a PCIEx16 card in a HP Compaq dc7600 desktop PC, not a motherboard integrated adapter. Thanks for your help. I'm willing to spend some time debugging this; please let me know if there's more information I can provide or other tests or patches I can try. -- Greg Rivers [-- Attachment #2 --] Index: drm_bufs.c =================================================================== --- drm_bufs.c (revision 189907) +++ drm_bufs.c (revision 189908) @@ -1106,7 +1106,7 @@ if (size == 0) return 0; - order = ffsl(size) - 1; + order = flsl(size) - 1; if (size & ~(1ul << order)) ++order;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903171801250.34773>
