diff options
| author | Dmitry Osipenko <[email protected]> | 2019-11-05 00:56:06 +0300 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2019-11-06 12:04:00 +0900 |
| commit | 6f2a35d65b3c4bbc579a115589edcc7ed6239dce (patch) | |
| tree | 76cb248ef16c8cd470e7bb2c87cad4d4f1452e81 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 11eb6ec5c0d4ad513c62e33009bcb15d84dfff56 (diff) | |
PM / devfreq: tegra30: Move clk-notifier's registration to governor's start
There is no point in receiving of the notifications while governor is
stopped, let's keep them disabled like we do for the CPU freq-change
notifications. This also fixes a potential use-after-free bug if
notification happens after device's removal.
Reviewed-by: Chanwoo Choi <[email protected]>
Tested-by: Peter Geis <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions