diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2021-06-30 08:27:41 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2021-07-01 08:53:29 +0200 |
commit | 7319965fa19edb177ae3d240f5678fe0519cba97 (patch) | |
tree | b0ca37ff43c57e57e8aa3730a419735d39f3b4ee /README | |
parent | 6ef2f37f4016a482fd31d21bb295494d26794a7a (diff) | |
download | linux-stable-7319965fa19edb177ae3d240f5678fe0519cba97.tar.gz linux-stable-7319965fa19edb177ae3d240f5678fe0519cba97.tar.bz2 linux-stable-7319965fa19edb177ae3d240f5678fe0519cba97.zip |
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 <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210630062751.2832545-7-boris.brezillon@collabora.com
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions