Date: Wed, 10 May 2006 01:24:28 +0400 From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/97056: [patch]: PCIE radeon DRM doesn't correctly initializes Message-ID: <20060509212428.GA19291@fonon.realnet> Resent-Message-ID: <200605092130.k49LUGD4074109@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97056 >Category: kern >Synopsis: [patch]: PCIE radeon DRM doesn't correctly initializes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 09 21:30:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat May 6 12:11:43 MSD 2006 root@fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386 >Description: "virtual" field in drm_sg_mem_t isn't initialized correctly, but shared-core code uses it. >How-To-Repeat: Try to use PCIE radeon with DRI. >Fix: --- drm_scatter.c.diff begins here --- --- bsd-core/drm_scatter.c.orig Tue May 9 14:50:14 2006 +++ bsd-core/drm_scatter.c Tue May 9 15:37:52 2006 @@ -85,6 +85,7 @@ DRM_DEBUG( "sg alloc handle = %08lx\n", entry->handle ); + entry->virtual = (void *)entry->handle; request.handle = entry->handle; DRM_COPY_TO_USER_IOCTL( (drm_scatter_gather_t *)data, --- drm_scatter.c.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060509212428.GA19291>