Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318731
b: refs/heads/master
c: 83bc5fd
h: refs/heads/master
i:
  318729: 1e137ee
  318727: 3e27f19
v: v3
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Jul 20, 2012
1 parent 3843a4d commit 222d04f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26587e69946249dc8327c5912d86320c3f63b2c5
refs/heads/master: 83bc5fd29afff5898cadf87fb29eb9260eecc63e
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/sis/sis_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static int sis_fb_init(struct drm_device *dev, void *data, struct drm_file *file
dev_priv->vram_offset = fb->offset;

mutex_unlock(&dev->struct_mutex);
DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size);
DRM_DEBUG("offset = %lu, size = %lu\n", fb->offset, fb->size);

return 0;
}
Expand Down Expand Up @@ -161,7 +161,7 @@ static int sis_drm_alloc(struct drm_device *dev, struct drm_file *file,
mem->size = 0;
mem->free = 0;

DRM_DEBUG("alloc %d, size = %d, offset = %d\n", pool, mem->size,
DRM_DEBUG("alloc %d, size = %ld, offset = %ld\n", pool, mem->size,
mem->offset);

return retval;
Expand Down Expand Up @@ -215,7 +215,7 @@ static int sis_ioctl_agp_init(struct drm_device *dev, void *data,
dev_priv->agp_offset = agp->offset;
mutex_unlock(&dev->struct_mutex);

DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size);
DRM_DEBUG("offset = %lu, size = %lu\n", agp->offset, agp->size);
return 0;
}

Expand Down
8 changes: 4 additions & 4 deletions trunk/include/drm/sis_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@

typedef struct {
int context;
unsigned int offset;
unsigned int size;
unsigned long offset;
unsigned long size;
unsigned long free;
} drm_sis_mem_t;

typedef struct {
unsigned int offset, size;
unsigned long offset, size;
} drm_sis_agp_t;

typedef struct {
unsigned int offset, size;
unsigned long offset, size;
} drm_sis_fb_t;

struct sis_file_private {
Expand Down

0 comments on commit 222d04f

Please sign in to comment.