]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: Print the pipe control page GTT address
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Feb 2013 20:01:38 +0000 (22:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Feb 2013 09:30:42 +0000 (10:30 +0100)
We already print the HWS addresses during init, so do the same for the
pipe control page. Reduces guesswork when looking at hex addresses
later.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c

index 00525ff590459ba8b80c3ed2ab95e72802bcead4..9b8b0588c83618979fc894c25dce95ab8aff693f 100644 (file)
@@ -467,6 +467,9 @@ init_pipe_control(struct intel_ring_buffer *ring)
        if (pc->cpu_page == NULL)
                goto err_unpin;
 
+       DRM_DEBUG_DRIVER("%s pipe control offset: 0x%08x\n",
+                        ring->name, pc->gtt_offset);
+
        pc->obj = obj;
        ring->private = pc;
        return 0;