mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
Merge from DRM CVS:
Set entry->virtual for sg maps, fixing ATI PCI/PCIE GART support. PR: kern/97056 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
This commit is contained in:
parent
ef39743bc3
commit
ad33688fca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158682
|
@ -88,6 +88,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,
|
||||
|
|
Loading…
Reference in a new issue