summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-15 10:16:13 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-15 10:16:13 +0000
commitbe53740c6f0bb182e3d88f0597f127732c839316 (patch)
tree05d92c9fc67e06b4767035e58fec29bbee344c33
parent349e9a7b94199e759acaaccac3abf5e28f3c246f (diff)
sna: Various DBG typos
Fix some mispellings inside the DBG messages Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen3_render.c3
-rw-r--r--src/sna/kgem.c9
-rw-r--r--src/sna/sna_composite.c2
3 files changed, 9 insertions, 5 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index cd59a089..b131b891 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -4019,7 +4019,8 @@ gen3_render_fill_boxes_try_blt(struct sna *sna,
color->blue,
color->alpha,
format)) {
- DBG(("%s: unknown format %lx\n", __FUNCTION__, format));
+ DBG(("%s: unknown format %x\n", __FUNCTION__,
+ (uint32_t)format));
return FALSE;
}
} else {
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 2c77bc5e..830a2ba1 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -629,7 +629,7 @@ void kgem_init(struct kgem *kgem, int fd, struct pci_device *dev, int gen)
while (kgem->partial_buffer_size < kgem->aperture_mappable >> 10)
kgem->partial_buffer_size *= 2;
DBG(("%s: partial buffer size=%d [%d KiB]\n", __FUNCTION__,
- kgem->partial_buffer_size, kgem->partial_buffer_zie / 1024));
+ kgem->partial_buffer_size, kgem->partial_buffer_size / 1024));
kgem->min_alignment = 4;
if (gen < 60)
@@ -3292,8 +3292,11 @@ void kgem_buffer_read_sync(struct kgem *kgem, struct kgem_bo *_bo)
if (bo->mmapped) {
struct drm_i915_gem_set_domain set_domain;
- DBG(("%s: sync: needs_flush? %d, domain? %d, busy? %d\n", __FUNCTION__,
- bo->needs_flush, bo->domain, kgem_busy(kgem, bo->handle)));
+ DBG(("%s: sync: needs_flush? %d, domain? %d, busy? %d\n",
+ __FUNCTION__,
+ bo->base.needs_flush,
+ bo->base.domain,
+ kgem_busy(kgem, bo->base.handle)));
VG_CLEAR(set_domain);
set_domain.handle = bo->base.handle;
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c
index f8f61f5a..4111b8d1 100644
--- a/src/sna/sna_composite.c
+++ b/src/sna/sna_composite.c
@@ -434,7 +434,7 @@ sna_composite(CARD8 op,
}
if (op == PictOpClear) {
- DBG(("%s: discarind sourceand mask for clear\n", __FUNCTION__));
+ DBG(("%s: discarding source and mask for clear\n", __FUNCTION__));
mask = NULL;
src = clear;
}