summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-05-13 17:55:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-07 18:14:37 -0700
commitd7d5e9bed91c75e765f9219a58199ce9bf5e3db3 (patch)
tree7e1d61401abe92a524d9d9058ed1250055bad0ac /include/video
parent8453324b7f4968ad2ebd90c9831c05f9801d92c3 (diff)
downloadlinux-stable-d7d5e9bed91c75e765f9219a58199ce9bf5e3db3.tar.gz
linux-stable-d7d5e9bed91c75e765f9219a58199ce9bf5e3db3.tar.bz2
linux-stable-d7d5e9bed91c75e765f9219a58199ce9bf5e3db3.zip
drm/i915: Don't leave old junk in ilk active watermarks on readout
commit 7045c3689f148a0c95f42bae8ef3eb2829ac7de9 upstream. When we read out the watermark state from the hardware we're supposed to transfer that into the active watermarks, but currently we fail to any part of the active watermarks that isn't explicitly written. Let's clear it all upfront. Looks like this has been like this since the beginning, when I added the readout. No idea why I didn't clear it up. Cc: Matt Roper <matthew.d.roper@intel.com> Fixes: 243e6a44b9ca ("drm/i915: Init HSW watermark tracking in intel_modeset_setup_hw_state()") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1463151318-14719-2-git-send-email-ville.syrjala@linux.intel.com (cherry picked from commit 15606534bf0a65d8a74a90fd57b8712d147dbca6) Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions