diff options
author | Julien Masson <[email protected]> | 2019-08-22 16:43:41 +0200 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2019-08-22 17:54:05 +0200 |
commit | 528a25d040bc2123fe5a9f8697a60f8bff40af0a (patch) | |
tree | 506b2ee5efb635bef3ab47a7cd8e2355d43af74a /lib/string_helpers.c | |
parent | ade925995b172f1d7410d1c665b2f47c5e99bef0 (diff) |
drm: meson: use match data to detect vpu compatibility
This patch introduce new enum which contains all VPU family (GXBB,
GXL, GXM and G12A).
This enum is used to detect the VPU compatible with the device.
We only need to set .data to the corresponding enum in the device
table, no need to check .compatible string anymore.
Signed-off-by: Julien Masson <[email protected]>
Tested-by: Neil Armstrong <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/87imqpz21w.fsf@masson.i-did-not-set--mail-host-address--so-tickle-me
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions