Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

print more debug info

  • Loading branch information...
commit 8a59ccbf054aa595ca5dc3fc2a25cb5ef1c68456 1 parent 4b85b52
Alexander Polakov authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  pscnv/pscnv_ioctl.c
  2. +2 −2 pscnv/pscnv_mem.c
View
2  pscnv/pscnv_ioctl.c
@@ -122,7 +122,7 @@ int pscnv_ioctl_gem_new(struct drm_device *dev, void *data,
ret = drm_gem_handle_create(file_priv, obj, &info->handle);
if (pscnv_gem_debug >= 1)
- NV_INFO(dev, "GEM handle %x is VO %x/%d\n", info->handle, bo->cookie, bo->serial);
+ NV_INFO(dev, "GEM handle %x (obj handle %p) is VO %x/%d\n", info->handle, bo->gem, bo->cookie, bo->serial);
#ifdef __linux__
info->map_handle = (uint64_t)info->handle << 32;
View
4 pscnv/pscnv_mem.c
@@ -156,8 +156,8 @@ pscnv_mem_free(struct pscnv_bo *bo)
{
struct drm_nouveau_private *dev_priv = bo->dev->dev_private;
if (pscnv_mem_debug >= 1)
- NV_INFO(bo->dev, "Freeing %d, %#llx-byte %sBO of type %08x, tile_flags %x\n", bo->serial, bo->size,
- (bo->flags & PSCNV_GEM_CONTIG ? "contig " : ""), bo->cookie, bo->tile_flags);
+ NV_INFO(bo->dev, "Freeing %d, %#llx-byte %sBO(%p) of type %08x, tile_flags %x\n", bo->serial, bo->size,
+ (bo->flags & PSCNV_GEM_CONTIG ? "contig " : ""), bo, bo->cookie, bo->tile_flags);
if (dev_priv->vm_ok && bo->map1)
pscnv_vspace_unmap_node(bo->map1);
Please sign in to comment.
Something went wrong with that request. Please try again.