diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2019-01-26 00:35:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-21 05:22:49 +0300 |
commit | 43d8107f0bdcaa4300e40231cc45ecbd1f77f73f (patch) | |
tree | cba2f6779b362fbf1e051d47a2354a1dec7702ff /drivers/fpga/xilinx-spi.c | |
parent | 057f91645cef412fe460b17fa50726c8a1c5921c (diff) | |
download | linux-43d8107f0bdcaa4300e40231cc45ecbd1f77f73f.tar.xz |
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/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions