Commit 1679d70d authored by Adrián Larumbe's avatar Adrián Larumbe Committed by Greg Kroah-Hartman
Browse files

drm/panthor: record current and maximum device clock frequencies



[ Upstream commit 37591ae1 ]

In order to support UM in calculating rates of GPU utilisation, the current
operating and maximum GPU clock frequencies must be recorded during device
initialisation, and also during OPP state transitions.

Signed-off-by: default avatarAdrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: default avatarSteven Price <steven.price@arm.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240923230912.2207320-3-adrian.larumbe@collabora.com


Stable-dep-of: 21c23e4b ("drm/panthor: Fix OPP refcnt leaks in devfreq initialisation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ed0515a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment