aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorHarish Kasiviswanathan <[email protected]>2019-01-25 21:35:35 +0000
committerAlex Deucher <[email protected]>2019-05-24 17:21:01 +0000
commitf756e6319ca07e369494a921b9935eb8625cc40b (patch)
tree0a9cab02877d588f040e7a26065d0fc9d7232352 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd (diff)
downloadkernel-f756e6319ca07e369494a921b9935eb8625cc40b.tar.gz
kernel-f756e6319ca07e369494a921b9935eb8625cc40b.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 <[email protected]> Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions