Skip to content
Snippets Groups Projects
Commit 1d5bf5d9 authored by Imre Deak's avatar Imre Deak
Browse files

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 ed4a6a7c ("drm/i915: Add two-stage ILK-style watermark programming (v11)")
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456776633-3401-1-git-send-email-imre.deak@intel.com


Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
parent c6a2ac71
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment