diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-02-26 17:31:58 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-03-03 14:23:22 +0200 |
commit | 2871b2fde449c2567a2d46a3635356cbc97c9740 (patch) | |
tree | d15a9edb657c31aadf19027289875ae2c9a6aee2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 899f9d7bbc01bacefe3b124d4655678ad299177d (diff) |
drm/i915: Fix TGL+ plane SAGV watermark programming
When we switch between SAGV on vs. off we need to reprogram all
plane wateramrks accordingly. Currently skl_wm_add_affected_planes()
totally ignores the SAGV watermark and just assumes we will use
the normal WM0.
Fix this by utilizing skl_plane_wm_level() which picks the
correct watermark based on use_sagv_wm. Thus we will force
an update on all the planes whose watermark registers need
to be reprogrammed.
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210226153204.1270-2-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions