aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMatt Roper <[email protected]>2015-12-03 11:37:40 -0800
committerMaarten Lankhorst <[email protected]>2016-01-06 11:35:29 +0100
commit151268821e6f08956b28b6ff90fae187a5b230b8 (patch)
treef337a00ef44c248b8d700bf28c8dea1c4846718e /tools/perf/scripts/python/call-graph-from-postgresql.py
parentee91a15972cc70efa4d17b4bbdb61ff314528110 (diff)
drm/i915: Add extra paranoia to ILK watermark calculations
Our low-level watermark calculation functions don't get called when the CRTC is disabled or the relevant plane is invisible, so they should never see a zero htotal or zero bpp. However add some checks to ensure this is true so that we don't wind up dividing by zero if we make a mistake elsewhere in the driver (which the atomic watermark series has revealed we might be). References: http://lists.freedesktop.org/archives/intel-gfx/2015-October/077370.html Signed-off-by: Matt Roper <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions