Apply iris patch
This commit is contained in:
parent
7fcc883f0c
commit
e7a339aa96
30
0001-Update-dri-vaapi-driver-mapping-for-iris.patch
Normal file
30
0001-Update-dri-vaapi-driver-mapping-for-iris.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From ec97c93be5da43124e0404ab8ed520377532d116 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Chauvet <kwizart@gmail.com>
|
||||
Date: Sat, 4 Apr 2020 11:07:24 +0200
|
||||
Subject: [PATCH] Update dri/vaapi driver mapping for iris
|
||||
|
||||
As reported https://github.com/intel/libva/issues/396
|
||||
|
||||
Update the driver mapping to take the new Iris intel driver into account
|
||||
|
||||
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
|
||||
---
|
||||
va/drm/va_drm_utils.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/va/drm/va_drm_utils.c b/va/drm/va_drm_utils.c
|
||||
index 1bd68ef..b50a4ea 100644
|
||||
--- a/va/drm/va_drm_utils.c
|
||||
+++ b/va/drm/va_drm_utils.c
|
||||
@@ -37,6 +37,8 @@ struct driver_name_map {
|
||||
};
|
||||
|
||||
static const struct driver_name_map g_driver_name_map[] = {
|
||||
+ { "iris", 4, "iHD" }, // Intel Media driver with Iris DRI driver
|
||||
+ { "iris", 4, "i965" }, // Intel OTC GenX driver with Iris DRI driver
|
||||
{ "i915", 4, "iHD" }, // Intel Media driver
|
||||
{ "i915", 4, "i965" }, // Intel OTC GenX driver
|
||||
{ "pvrsrvkm", 8, "pvr" }, // Intel UMG PVR driver
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@ -7,6 +7,7 @@ Summary: Video Acceleration (VA) API for Linux
|
||||
License: MIT
|
||||
URL: https://github.com/intel/libva
|
||||
Source0: %{url}/archive/%{version}%{?pre_release}/%{name}-%{version}%{?pre_release}.tar.gz
|
||||
Patch0: 0001-Update-dri-vaapi-driver-mapping-for-iris.patch
|
||||
|
||||
BuildRequires: libtool
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user