diff options
author | Eric Anholt <anholt@freebsd.org> | 2006-05-17 06:07:57 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2006-05-17 06:07:57 +0000 |
commit | bdd381a7cea814d12d3207a67503cc1a5e353bed (patch) | |
tree | 3968f7067c08fdfcf0d4ef4a34c6ee1329fb77d2 | |
parent | dcfcf1a84d400f9c1ade36a233f0a18131115921 (diff) |
Set entry->virtual for sg maps, fixing ATI PCI/PCIE GART support.
PR: kern/97056 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
-rw-r--r-- | bsd-core/drm_scatter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-core/drm_scatter.c b/bsd-core/drm_scatter.c index c26a3802..9dc280a4 100644 --- a/bsd-core/drm_scatter.c +++ b/bsd-core/drm_scatter.c @@ -85,6 +85,7 @@ int drm_sg_alloc(DRM_IOCTL_ARGS) 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, |