projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de9b31
)
drm/i915: Warn if we run out of FIFO space for a mode
author
Chris Wilson
<
[email protected]
>
Mon, 19 Jul 2010 20:46:08 +0000
(21:46 +0100)
committer
Eric Anholt
<
[email protected]
>
Mon, 2 Aug 2010 02:47:59 +0000
(19:47 -0700)
Signed-off-by: Chris Wilson <
[email protected]
>
Cc: Jesse Barnes <
[email protected]
>
Signed-off-by: Eric Anholt <
[email protected]
>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index baaaeaac7f215847c77573f77bf84a503cc8bda3..132314e2bf217d1ba34b40c6a409dfc5be057478 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-2745,8
+2745,14
@@
static unsigned long intel_calculate_wm(unsigned long clock_in_khz,
/* Don't promote wm_size to unsigned... */
if (wm_size > (long)wm->max_wm)
wm_size = wm->max_wm;
- if (wm_size <= 0)
+ if (wm_size <= 0)
{
wm_size = wm->default_wm;
+ DRM_ERROR("Insufficient FIFO for plane, expect flickering:"
+ " entries required = %ld, available = %lu.\n",
+ entries_required + wm->guard_size,
+ wm->fifo_size);
+ }
+
return wm_size;
}