aboutsummaryrefslogtreecommitdiff
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2015-07-16 19:36:51 +0300
committerDaniel Vetter <[email protected]>2015-07-17 09:06:40 +0200
commit661abfc028886eb1c6b5b9dbc433ef8cfb11217d (patch)
treecef34dd59093046aebc551b5a29ab5f21ac8dbd4 /lib/dma-debug.c
parent264954811af62dcfe17fc44cef379b315bb066eb (diff)
drm/i915: Fix divide by zero on watermark update
Fix divide by zero if we end up updating the watermarks with zero dotclock. This is a stop gap measure to allow module load in cases where our state keeping fails. v2: WARN_ON added (Paulo) Cc: Paulo Zanoni <[email protected]> Cc: Damien Lespiau <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Paulo Zanoni <[email protected]> Reviewed-by: Damien Lespiau <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions