mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-22 19:48:15 +02:00
drm: fix nouveau warning
This commit is contained in:
parent
91c6c4b240
commit
74a9ea896e
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,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=(unsigned long)dev->sg->virtual;
|
||||
else
|
||||
{
|
||||
DRM_ERROR("Requested PCIGART address, while no PCIGART was created\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue