diff options
| author | 2016-02-29 22:10:33 +0200 | |
|---|---|---|
| committer | 2016-03-01 12:40:08 +0200 | |
| commit | 1d5bf5d9d9ef0c1e639d36178a224d83888c5a29 (patch) | |
| tree | c130a56bcd2f15b75940f395d820b83cb716c7a1 /tools/perf/scripts/python | |
| parent | drm/i915: Execlists small cleanups and micro-optimisations (diff) | |
drm/i915: Add missing NULL check before calling initial_watermarks
Not all platforms set this callback, so NULL check it before calling it.
v2:
- Call intel_update_watermarks() on HSW+ where the callback is not set.
(Matt)
CC: Matt Roper <matthew.d.roper@intel.com>
Fixes: commit ed4a6a7ca853 ("drm/i915: Add two-stage ILK-style watermark programming (v11)")
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456776633-3401-1-git-send-email-imre.deak@intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
