2021-12-22 11:54:53 |
jeremyszu |
description |
[Impact]
* iris driver doesn't load with pci_id 4688. Instead, it uses llvm.
we expect the Intel GPU uses iris driver.
[Test Plan]
* $ DISPLAY=:0 glxinfo | grep -i opengl
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
...
OpenGL version string: 3.1 Mesa 21.0.3
* After applying the fix, it shows:
* $ DISPLAY=:0 glxinfo | grep -i opengl
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL-S GT1)
...
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.3 (git-d4975a0dbc)
[Where problems could occur]
* This patch is backport the PCI ID mapping for enabling iris driver which is expected when users have a GPU.
* If there is any issue occur then we need to fix it with iris driver.
[Other Info]
* It already in upstream and we have a platform which using ADL-HX in OEM project. Thus, we need to enable iris on it at least on focal.
* The patch is simple as to add "CHIPSET(0x4688, adl_gt1, "ADL-S GT1", "Intel(R) Graphics")" in "include/pci_ids/iris_pci_ids.h". |
[Impact]
* iris driver doesn't load with pci_id 4688. Instead, it uses llvm.
we expect the Intel GPU uses iris driver.
[Test Plan]
* $ DISPLAY=:0 glxinfo | grep -i opengl
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
...
OpenGL version string: 3.1 Mesa 21.0.3
* After applying the fix, it shows:
* $ DISPLAY=:0 glxinfo | grep -i opengl
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL-S GT1)
...
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.3 (git-d4975a0dbc)
[Where problems could occur]
* This patch is backport the PCI ID mapping for enabling iris driver which is expected when users have a GPU.
* If there is any issue occur then we need to fix it with iris driver.
[Other Info]
* It already in upstream and we have a platform which using ADL-HX in OEM project. Thus, we need to enable iris on it at least on focal.
* The patch is simple as to add "CHIPSET(0x4688, adl_gt1, "ADL-S GT1", "Intel(R) Graphics")" in "include/pci_ids/iris_pci_ids.h".
* Patch backported from df5b14969f9869f363bcc8b2a564c85aaa481597 |
|