diff options
author | Harish Kasiviswanathan | 2019-01-25 22:35:35 +0100 |
---|---|---|
committer | Alex Deucher | 2019-05-21 04:22:49 +0200 |
commit | 43d8107f0bdcaa4300e40231cc45ecbd1f77f73f (patch) | |
tree | cba2f6779b362fbf1e051d47a2354a1dec7702ff /drivers/gpu/drm/amd/display | |
parent | drm/amdgpu: skip fw pri bo alloc for SRIOV (diff) | |
download | kernel-qcow2-linux-43d8107f0bdcaa4300e40231cc45ecbd1f77f73f.tar.gz kernel-qcow2-linux-43d8107f0bdcaa4300e40231cc45ecbd1f77f73f.tar.xz kernel-qcow2-linux-43d8107f0bdcaa4300e40231cc45ecbd1f77f73f.zip |
drm/amdkfd: Fix compute profile switching
Fix compute profile switching on process termination.
Add a dedicated reference counter to keep track of entry/exit to/from
compute profile. This enables switching compute profiles for other
reasons than process creation or termination.
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions