aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-10-12 20:34:50 +0200
committerRafael J. Wysocki <[email protected]>2023-10-20 19:26:37 +0200
commit8c35b1f472533b0df1b8f1f1afcaf4395cdb2256 (patch)
tree00be096e40c553e3912fbc9ad62190d555b41421 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentfdcf70ed4e1606cd5a5a48f666583053ae4c3978 (diff)
thermal: core: Pass trip pointer to governor throttle callback
Modify the governor .throttle() callback definition so that it takes a trip pointer instead of a trip index as its second argument, adjust the governors accordingly and update the core code invoking .throttle(). This causes the governors to become independent of the representation of the list of trips in the thermal zone structure. This change is not expected to alter the general functionality. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions