diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-10-03 14:15:42 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-10-03 18:45:33 +0300 |
| commit | f25d9f81a8e09ace4f04106995550bae1f522143 (patch) | |
| tree | 556378fca1597267f617ba4cf40fe9fd426a77b5 /lib/mpi/mpi-add.c | |
| parent | a627455bbe50a111475d7a42beb58fa64bd96c83 (diff) | |
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
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
