Stefan Dirsch changed bug 1209134
What Removed Added
Priority P5 - None P3 - Medium
Status NEW CONFIRMED

Comment # 1 on bug 1209134 from
Ok. Indeed this is no longer necessary. This came in with

version 2.6.0 - 15.Dec.2019
[...]
* drm: Add iHD to driver_name_map
[...]

commit 09c8c2e20b7763fc44299172dbb16061b57f9c71
Author: Azhar Shaikh <azhar.shaikh@intel.com>
Date:   Tue Nov 6 10:33:33 2018 -0800

    drm: Add iHD to driver_name_map

    Add mapping of i915 kernel driver to Intel media driver
    vaInitialize succeeds on systems with iHD driver without
    having to export LIBVA_DRIVER_NAME=iHD

    Fixes #244

    Signed-off-by: Azhar Shaikh <azhar.shaikh@intel.com>

diff --git a/va/drm/va_drm_utils.c b/va/drm/va_drm_utils.c
index 0fe1a35..cd67ecb 100644
--- a/va/drm/va_drm_utils.c
+++ b/va/drm/va_drm_utils.c
@@ -37,6 +37,7 @@ struct driver_name_map {
 };

 static const struct driver_name_map g_driver_name_map[] = {
+    { "i915",       4, "iHD"    }, // Intel Media driver
     { "i915",       4, "i965"   }, // Intel OTC GenX driver
     { "pvrsrvkm",   8, "pvr"    }, // Intel UMG PVR driver
     { "emgd",       4, "emgd"   }, // Intel ECG PVR driver

Also

version 2.8.0 - 18.Jun.2020
[...]
* VA/X11: enable driver candidate selection for DRI2
[...]

commit bc8a12af319feca180aa99301b7e930f5890c1dd
Author: U. Artie Eoff <ullysses.a.eoff@intel.com>
Date:   Mon Apr 13 12:22:06 2020 -0700

    VA/X11: enable driver candidate selection for DRI2

    Map the i965 DRI driver to iHD and i965 vaapi
    driver candidates.

    Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>

[...]


A bit of history. I introduced LIBVA_DRIVER_NAME=iHD from the beginning when I
created intel-media-driver package:

----------------------------------------------------------------------------
r1 | sndirsch | 2018-07-17 11:52:02 | b74da1a78b7062f5ea052fdb3851fa73 | 18.2.0
| rq623376

Initial package, requiring the new libva 2.2.0

I wasn't aware that it would no longer be necessary. As you can see the changes
were done after I added to set this environment variable. I will remove it.
Also in package for Leap 15.5.


You are receiving this mail because: