diff options
author | 2019-11-20 16:13:03 -0600 | |
---|---|---|
committer | 2020-07-01 01:59:11 -0400 | |
commit | d0f1a85366bc0fe57c4a21c56568742a174965c1 (patch) | |
tree | ad8c46290296025aa5d0f34cde40f1e801e4d78e /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
parent | drm/amdkfd: Add Sienna_Cichlid trap handler support (diff) | |
download | wireguard-linux-d0f1a85366bc0fe57c4a21c56568742a174965c1.tar.xz wireguard-linux-d0f1a85366bc0fe57c4a21c56568742a174965c1.zip |
drm/amdkfd: Support newer assemblers in gfx10 trap handler
The contents of macros are parsed by the assembler before conditions
have been tested. This causes assembly errors when using IP-specific
instructions in the IP-unified trap handler.
Add a preprocessing step to filter IP-specific code.
Also guard a Navi1x-specific instruction (no effect on Sienna_Cichlid).
Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions