summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0e5c5a)
raw | patch | inline | side by side (parent: f0e5c5a)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 19 Nov 2014 10:50:13 +0000 (12:50 +0200) | ||
committer | Jyri Sarha <jsarha@ti.com> | |
Fri, 21 Nov 2014 14:10:23 +0000 (16:10 +0200) |
omapdrm uses normal DRM_ERROR() print when the HW reports an error. As
we sometimes may get a flood of errors, let's rather use
DRM_ERROR_RATELIMITED().
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
we sometimes may get a flood of errors, let's rather use
DRM_ERROR_RATELIMITED().
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c | patch | blob | history | |
drivers/gpu/drm/omapdrm/omap_plane.c | patch | blob | history |
index c7778899c1f31be230f667f43ae7c4191e85e7f6..953820fb3ba623084aedae38baffe6e006e2613a 100644 (file)
struct omap_crtc *omap_crtc =
container_of(irq, struct omap_crtc, error_irq);
struct drm_crtc *crtc = &omap_crtc->base;
- DRM_ERROR("%s: errors: %08x\n", omap_crtc->name, irqstatus);
+ DRM_ERROR_RATELIMITED("%s: errors: %08x\n", omap_crtc->name, irqstatus);
/* avoid getting in a flood, unregister the irq until next vblank */
__omap_irq_unregister(crtc->dev, &omap_crtc->error_irq);
}
index 8f4fb34a43920ef7f670fdfea15ac5da21a99893..8f8b3041e611853988847f2128d0eb95a181b308 100644 (file)
{
struct omap_plane *omap_plane =
container_of(irq, struct omap_plane, error_irq);
- DRM_ERROR("%s: errors: %08x\n", omap_plane->name, irqstatus);
+ DRM_ERROR_RATELIMITED("%s: errors: %08x\n", omap_plane->name,
+ irqstatus);
}
static const char *plane_names[] = {