diff options
author | pding <[email protected]> | 2017-10-13 15:38:35 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-10-19 15:27:19 -0400 |
commit | 43ca8efa46d9b1c4defa1b27c4dd1ef3866aaad9 (patch) | |
tree | 5fe9f0ce36750dd22d8eef3c33d688865d4e413c /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
parent | e71de0766191d32648cf12dfb2f53f05e52b2dcc (diff) |
drm/amdgpu: busywait KIQ register accessing (v4)
Register accessing is performed when IRQ is disabled. Never sleep in
this function.
Known issue: dead sleep in many use cases of index/data registers.
v2:
- wrap polling fence functions.
- don't trigger IRQ for polling in case of wrongly fence signal.
v3:
- handle wrap round gracefully.
- add comments for polling function
v4:
- don't return negative timeout confused with error code
Signed-off-by: pding <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions