diff options
author | Yong Zhao <[email protected]> | 2017-09-20 18:10:19 -0400 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2017-09-20 18:10:19 -0400 |
commit | e596b90338126d08a8d90f08e79bb644b8c9f2b6 (patch) | |
tree | c10151d1e2bd485199e886ad762a262a0c81276e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 44008d7a871ce5a487cbcc4c412a5149145ea442 (diff) |
drm/amdkfd: Reuse CHIP_* from amdgpu v2
There are already CHIP_* definitions under amd_shared.h file on amdgpu
side, so KFD should reuse them rather than defining new ones.
Using enum for asic type requires default cases on switch statements
to prevent compiler warnings. WARN on unsupported ASICs. It should never
get there because KFD should not be initialized on unsupported devices.
v2: Replace BUG() with WARN and error return
Signed-off-by: Yong Zhao <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions