mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-03 02:20:17 +01:00
Fix nouveau warning when returning pointers in uint64_t objects.
This commit is contained in:
parent
0d547c9ed9
commit
5b5b68ffd2
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data, struct drm_file *
|
|||
break;
|
||||
case NOUVEAU_GETPARAM_PCI_PHYSICAL:
|
||||
if ( dev -> sg )
|
||||
getparam->value=(uint64_t) dev->sg->virtual;
|
||||
getparam->value=(uint64_t) (uintptr_t) dev->sg->virtual;
|
||||
else
|
||||
{
|
||||
DRM_ERROR("Requested PCIGART address, while no PCIGART was created\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue