drm/i915: silence vblank warnings
authorFrans Pop <elendil@planet.nl>
Sun, 9 Aug 2009 02:25:29 +0000 (12:25 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 9 Aug 2009 02:25:29 +0000 (12:25 +1000)
these errors are pretty pointless

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_irq.c

index 83aee80e77a6c188a8235337b7d9a1de0dfb0dfd..7ebc84c2881e23547ffb7099294f58995dea1bfe 100644 (file)
@@ -190,7 +190,7 @@ u32 i915_get_vblank_counter(struct drm_device *dev, int pipe)
        low_frame = pipe ? PIPEBFRAMEPIXEL : PIPEAFRAMEPIXEL;
 
        if (!i915_pipe_enabled(dev, pipe)) {
-               DRM_ERROR("trying to get vblank count for disabled pipe %d\n", pipe);
+               DRM_DEBUG("trying to get vblank count for disabled pipe %d\n", pipe);
                return 0;
        }
 
@@ -219,7 +219,7 @@ u32 gm45_get_vblank_counter(struct drm_device *dev, int pipe)
        int reg = pipe ? PIPEB_FRMCOUNT_GM45 : PIPEA_FRMCOUNT_GM45;
 
        if (!i915_pipe_enabled(dev, pipe)) {
-               DRM_ERROR("trying to get vblank count for disabled pipe %d\n", pipe);
+               DRM_DEBUG("trying to get vblank count for disabled pipe %d\n", pipe);
                return 0;
        }