spice-common/common
Vivek Kasireddy bb8f66983a common: Add a udev helper to identify GPU Vendor
Given that libudev is widely available on many Linux distros, we
can use the relevant APIs to iterate over all the devices associated
with the drm subsystem to figure out if a specific vendor GPU
is available or not.

This capability (identifying GPU Vendor) is useful to determine
whether to launch Gstreamer pipeline using h/w accelerated
plugins. On systems where libudev is not available (Windows,
MacOS, etc) we'd have to make this determination based on the
availability of the relevant plugins in the Gstreamer registry.

Cc: Frediano Ziglio <freddy77@gmail.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dongwon Kim <dongwon.kim@intel.com>
Cc: Hazwan Arif Mazlan <hazwan.arif.mazlan@intel.com>
Cc: Jin Chung Teng <jin.chung.teng@intel.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Acked-by: Frediano Ziglio <freddy77@gmail.com>
2023-10-17 10:32:27 +01:00
..
recorder@d5cbf6caba recorder: Update 2019-05-29 14:53:16 +01:00
agent_interface.c agent-interface: add configuration functions 2019-10-18 17:04:06 +01:00
agent_interface.h Avoid usage of GCC extension for __VA_ARGS__ where possible 2020-08-10 09:55:27 +01:00
agent.c Fix invalid vdagent buffer access 2021-04-13 21:30:38 +04:00
agent.h agent: Fix incompatibility with Visual Studio compiler 2020-04-24 09:42:46 +01:00
backtrace.c backtrace: Do not attempt to compile if spice_backtrace is empty 2020-08-10 09:55:10 +01:00
backtrace.h Unify headers guard names 2018-11-26 11:20:57 +00:00
canvas_base.c canvas_base: Fix missing ntohl for Win32 platform 2021-05-07 19:42:38 +01:00
canvas_base.h Unify headers guard names 2018-11-26 11:20:57 +00:00
canvas_utils.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
canvas_utils.h Unify headers guard names 2018-11-26 11:20:57 +00:00
client_marshallers.h codegen: Generate headers while generating code 2019-03-18 13:01:52 +00:00
demarshallers.h Unify headers guard names 2018-11-26 11:20:57 +00:00
draw.h Unify headers guard names 2018-11-26 11:20:57 +00:00
lines.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
lines.h Unify headers guard names 2018-11-26 11:20:57 +00:00
log.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
log.h Avoid usage of GCC extension for __VA_ARGS__ where possible 2020-08-10 09:55:27 +01:00
lz_common.h lz_common: Remove unused commented out define 2020-03-17 17:08:17 +00:00
lz_compress_tmpl.c lz_compress: Cleanup unused macros 2020-02-07 15:27:03 +00:00
lz_config.h Unify headers guard names 2018-11-26 11:20:57 +00:00
lz_decompress_tmpl.c lz_decompress: Read "ctrl" inside loop 2020-02-07 15:27:00 +00:00
lz.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
lz.h Reuse macros from spice-protocol 2020-06-19 14:45:36 +01:00
macros.h Reuse macros from spice-protocol 2020-06-19 14:45:36 +01:00
Makefile.am common: Add a udev helper to identify GPU Vendor 2023-10-17 10:32:27 +01:00
marshaller.c marshallers: Avoid some useless pointers in SpiceMarshallerData 2020-02-07 14:52:29 +00:00
marshaller.h codegen: Remove support for --ptrsize 2019-03-08 11:09:02 +00:00
mem.c Avoid usage of GCC extension for __VA_ARGS__ where possible 2020-08-10 09:55:27 +01:00
mem.h Unify headers guard names 2018-11-26 11:20:57 +00:00
meson.build common: Add a udev helper to identify GPU Vendor 2023-10-17 10:32:27 +01:00
messages.h messages: Remove obsolete structure definition 2020-04-07 11:07:23 +01:00
pixman_utils.c pixman_utils: fix clang "unused functions" warning 2020-07-11 08:17:18 +01:00
pixman_utils.h Unify headers guard names 2018-11-26 11:20:57 +00:00
quic_config.h Unify headers guard names 2018-11-26 11:20:57 +00:00
quic_family_tmpl.c quic: Avoid possible buffer overflow in find_bucket 2020-09-17 06:46:57 +01:00
quic_tmpl.c quic: Check RLE lengths 2020-09-17 06:46:57 +01:00
quic.c quic: Check image size in quic_decode_begin 2020-09-17 06:46:57 +01:00
quic.h Reuse macros from spice-protocol 2020-06-19 14:45:36 +01:00
recorder.h Avoid usage of GCC extension for __VA_ARGS__ where possible 2020-08-10 09:55:27 +01:00
rect.h rect: Avoid usage of "small" 2020-06-25 16:17:39 +01:00
region.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
region.h Unify headers guard names 2018-11-26 11:20:57 +00:00
ring.h Unify headers guard names 2018-11-26 11:20:57 +00:00
rop3.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
rop3.h Unify headers guard names 2018-11-26 11:20:57 +00:00
snd_codec.c snd_codec: Use better type for snd_codec_create mode 2020-07-07 13:09:38 +01:00
snd_codec.h snd_codec: Use better type for snd_codec_create mode 2020-07-07 13:09:38 +01:00
ssl_verify.c Replace EVP_PKEY_cmp with EVP_PKEY_eq 2022-06-29 07:57:53 +01:00
ssl_verify.h Unify headers guard names 2018-11-26 11:20:57 +00:00
sw_canvas.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
sw_canvas.h Unify headers guard names 2018-11-26 11:20:57 +00:00
udev.c common: Add a udev helper to identify GPU Vendor 2023-10-17 10:32:27 +01:00
udev.h common: Add a udev helper to identify GPU Vendor 2023-10-17 10:32:27 +01:00
utils.c Do not check for HAVE_CONFIG_H 2019-05-02 09:33:05 +01:00
utils.h utils: add set_bitmap/test_bitmap functions 2020-03-04 16:43:48 +00:00
verify.h build: Update verify.h to latest version 2019-03-29 16:58:14 +01:00