summary refs log tree commit diff
path: root/samples/mic
diff options
context:
space:
mode:
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>2019-01-25 16:35:35 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-05-20 21:22:49 -0500
commit43d8107f0bdcaa4300e40231cc45ecbd1f77f73f (patch)
treecba2f6779b362fbf1e051d47a2354a1dec7702ff /samples/mic
parent057f91645cef412fe460b17fa50726c8a1c5921c (diff)
downloadlinux-43d8107f0bdcaa4300e40231cc45ecbd1f77f73f.tar.gz
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 'samples/mic')
0 files changed, 0 insertions, 0 deletions