aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-09 18:49:41 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-18 22:36:18 +0200
commitd8f5855b31c0523ea3b171db8dfb998830e8735d (patch)
tree915bced2d7f54e68b8718a7825782b60a0201868 /scripts/stackusage
parentdrm/i915: include uapi/drm/i915_drm.h directly where needed (diff)
downloadlinux-d8f5855b31c0523ea3b171db8dfb998830e8735d.tar.gz
linux-d8f5855b31c0523ea3b171db8dfb998830e8735d.zip
drm/i915: Treat SAGV block time 0 as SAGV disabled
For modern platforms the spec explicitly states that a SAGV block time of zero means that SAGV is not supported. Let's extend that to all platforms. Supposedly there should be no systems where this isn't true, and it'll allow us to: - use the same code regardless of older vs. newer platform - wm latencies already treat 0 as disabled, so this fits well with other related code - make it a bit more clear when SAGV is used vs. not - avoid overflows from adding U32_MAX with a u16 wm0 latency value which could cause us to miscalculate the SAGV watermarks on tgl+ Cc: stable@vger.kernel.org Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220309164948.10671-2-ville.syrjala@linux.intel.com Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions