diff options
author | Jay Cornwall <jay.cornwall@amd.com> | 2019-11-20 16:13:03 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:11 -0400 |
commit | d0f1a85366bc0fe57c4a21c56568742a174965c1 (patch) | |
tree | ad8c46290296025aa5d0f34cde40f1e801e4d78e /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
parent | 80b6cfedd3b71002f0973e8b49c11668f34be236 (diff) |
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/ObjectID.h')
0 files changed, 0 insertions, 0 deletions