[PATCH] drm/i915: Increase pipe crc entries

Mika Kahola mika.kahola at intel.com
Tue Jan 3 07:51:12 UTC 2017


Increase pipe crc ringbuffer size from 128 to 256. With Intel-gpu-tools
test kms_plane_multiple some cases yield a warning of overflowing crc
buffer.

Signed-off-by: Mika Kahola <mika.kahola at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 1d8761c..e407562 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1880,7 +1880,7 @@ struct intel_pipe_crc_entry {
 	uint32_t crc[5];
 };
 
-#define INTEL_PIPE_CRC_ENTRIES_NR	128
+#define INTEL_PIPE_CRC_ENTRIES_NR	256
 struct intel_pipe_crc {
 	spinlock_t lock;
 	bool opened;		/* exclusive access to the result file */
-- 
2.7.4



More information about the Intel-gfx-trybot mailing list