mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
lavu/hwcontext_qsv: Use vendor id to create device
New kernel driver "xe" will be supported from Lunar Lake instead of "i915". "xe" kernel driver: https://github.com/torvalds/linux/tree/master/drivers/gpu/drm/xe Signed-off-by: Fei Wang <fei.w.wang@intel.com>
This commit is contained in:
parent
dbd74ba3c8
commit
eab4a9e9f8
@ -2572,8 +2572,8 @@ static int qsv_device_create(AVHWDeviceContext *ctx, const char *device,
|
||||
// used on recent Intel hardware. Set options to the VAAPI device
|
||||
// creation so that we should pick a usable setup by default if
|
||||
// possible, even when multiple devices and drivers are available.
|
||||
av_dict_set(&child_device_opts, "kernel_driver", "i915", 0);
|
||||
av_dict_set(&child_device_opts, "driver", "iHD", 0);
|
||||
av_dict_set(&child_device_opts, "vendor_id", "0x8086", 0);
|
||||
av_dict_set(&child_device_opts, "driver", "iHD", 0);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user