summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2020-07-30 18:04:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-08-04 17:13:07 -0400
commit522ec6e0eed0ab0678e7d5b5bf00487dfe83f7ce (patch)
tree09bd197b8e11f9758ee09587b581d4fe0bdf0615 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parent2456c290a7889be492cb96092b62d16c11176f72 (diff)
drm/amdkfd: Replace bitmask with event idx in SMI event msg
Event bitmask is a 64-bit mask with only 1 bit set. Sending this event bitmask in KFD SMI event message is both wasteful of memory and potentially limiting to only 64 events. Instead send event index in SMI event message. Please note this change does not break the ABI for the two event types defined so far. The new index is identical to the mask used before. Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions