mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 21:40:12 +01:00
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
dcfcf1a84d
commit
bdd381a7ce
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue