diff options
| author | Boris Brezillon <[email protected]> | 2021-06-30 08:27:41 +0200 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2021-07-01 08:53:29 +0200 |
| commit | 7319965fa19edb177ae3d240f5678fe0519cba97 (patch) | |
| tree | b0ca37ff43c57e57e8aa3730a419735d39f3b4ee /tools/perf/scripts/python | |
| parent | 6ef2f37f4016a482fd31d21bb295494d26794a7a (diff) | |
drm/panfrost: Do the exception -> string translation using a table
Do the exception -> string translation using a table. This way we get
rid of those magic numbers and can easily add new fields if we need
to attach extra information to exception types.
v4:
* Don't expose exception type to userspace
* Merge the enum definition and the enum -> string table declaration
in the same patch
v3:
* Drop the error field
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions