summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2026-03-25 21:41:46 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-04-03 13:52:44 -0400
commit592713a8960ed661bd9fcb7c256921c53eadeb49 (patch)
tree45a64fc6ebf133cd52e5a6fef713dc1854d9d5c6 /include/linux/i2c/git@git.tavy.me:linux-stable.git
parent95a599c8a25a60a63b710ea863577ee51a8b62a2 (diff)
drm/amd/pm: correct mem_busy_percent display due to calculation errors
PMFW may return invalid values due to internal calculation errors. so, the kmd driver must validate and sanitize the returned values to prevent issues caused by firmware calculation errors. For example, values 0xfffe (-2) and 0xffff (-1) are treated as invalid and clamped to 0. this applies to devices with CAB (Cache As Buffer) functionality. Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/4905 Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions