mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
libva: fix hw acceleration for Intel crocus driver
- https://github.com/intel/libva/pull/547
This commit is contained in:
parent
aff99f040a
commit
fb01dde42a
@ -0,0 +1,22 @@
|
|||||||
|
From ae7174b3dbaefac0723a51c1c9f5f7cc004ca7cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Beich <jbeich@FreeBSD.org>
|
||||||
|
Date: Sun, 31 Oct 2021 07:32:18 +0000
|
||||||
|
Subject: [PATCH] VA/X11: VAAPI driver mapping for crocus DRI driver
|
||||||
|
|
||||||
|
crocus supports Gen4 to Gen7.5, so only i965 can be used.
|
||||||
|
---
|
||||||
|
va/x11/va_x11.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c
|
||||||
|
index 4d06acd2..9687afaf 100644
|
||||||
|
--- a/va/x11/va_x11.c
|
||||||
|
+++ b/va/x11/va_x11.c
|
||||||
|
@@ -55,6 +55,7 @@ static const struct driver_name_map g_dri2_driver_name_map[] = {
|
||||||
|
{ "i965", 4, "i965" }, // Intel i965 VAAPI driver with i965 DRI driver
|
||||||
|
{ "iris", 4, "iHD" }, // Intel iHD VAAPI driver with iris DRI driver
|
||||||
|
{ "iris", 4, "i965" }, // Intel i965 VAAPI driver with iris DRI driver
|
||||||
|
+ { "crocus", 6, "i965" }, // Intel i965 VAAPI driver with crocus DRI driver
|
||||||
|
{ NULL, 0, NULL }
|
||||||
|
};
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user