diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-03-26 19:25:43 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-04-04 20:02:46 +0300 |
commit | da885fdaf9c1a07f9b1c99e105139ef4053004e6 (patch) | |
tree | a0ad7ef80bd73a59a3f12ad5fb56c09bdc69a9b1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4d5204b3045473cc007aa119e6501db367979aa6 (diff) | |
download | linux-da885fdaf9c1a07f9b1c99e105139ef4053004e6.tar.xz |
drm/i915: Skip bw stuff if per-crtc sagv state doesn't change
If there are no changes to intel_crtc_can_enable_sagv() there
is no need to do all the sagv bw_state recomputation.
The only slight caveat here is hw state takeover where we
initially disable SAGV, and want it to get re-enabled once
we've determined that it's safe to do so. That can now be
achieved by having intel_crtc_can_enable_sagv() reject SAGV
as long as the crtc_state->inherited flag is set. Once the
flag gets cleared (during initial commit for inactive pipes,
during the first userspace commit for active pipes), we
will naturally recompute all the sagv related state.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250326162544.3642-14-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions