diff options
author | 2022-10-03 14:15:42 +0300 | |
---|---|---|
committer | 2022-10-03 17:55:25 +0100 | |
commit | ccfa6d35f9233702c924316cdf40c05b6ce88113 (patch) | |
tree | 1be7d809e5af1432d17ed120fa32454628b8cbc2 /scripts/generate_rust_analyzer.py | |
parent | drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier (diff) | |
download | wireguard-linux-ccfa6d35f9233702c924316cdf40c05b6ce88113.tar.xz wireguard-linux-ccfa6d35f9233702c924316cdf40c05b6ce88113.zip |
drm/i915: Fix watermark calculations for DG2 CCS modifiers
Take the DG2 CCS modifiers into account when calculating the
watermarks. Othwerwise we'll calculate the watermarks thinking these
tile-4 modifiers are linear.
The rc_surface part is actually a nop since that is not used
for any glk+ platform.
Cc: stable@vger.kernel.org
Fixes: 4c3afa72138c ("drm/i915/dg2: Add support for DG2 render and media compression")
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221003111544.8007-5-ville.syrjala@linux.intel.com
(cherry picked from commit f25d9f81a8e09ace4f04106995550bae1f522143)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions