fix missing kmsro

This commit is contained in:
Dave Airlie 2019-05-08 12:39:48 +10:00
parent 5c279f473b
commit 76b6b251a7
2 changed files with 32 additions and 2 deletions

View file

@ -0,0 +1,27 @@
From 817f895823a11d6b3cef90dc4f5262d98715499e Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Wed, 8 May 2019 12:38:18 +1000
Subject: [PATCH] kmsro: add _dri.so to two of the kmsro drivers.
---
src/gallium/targets/dri/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index dd40969a166..45daf647960 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -78,8 +78,8 @@ foreach d : [[with_gallium_kmsro, [
'pl111_dri.so',
'repaper_dri.so',
'rockchip_dri.so',
- 'st7586.so',
- 'st7735r.so',
+ 'st7586_dri.so',
+ 'st7735r_dri.so',
'sun4i-drm_dri.so',
]],
[with_gallium_radeonsi, 'radeonsi_dri.so'],
--
2.20.1

View file

@ -58,6 +58,9 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD. # Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
Source1: Mesa-MLAA-License-Clarification-Email.txt Source1: Mesa-MLAA-License-Clarification-Email.txt
# sent upstream should be in rc2
Patch1: 0001-kmsro-add-_dri.so-to-two-of-the-kmsro-drivers.patch
Patch3: 0003-evergreen-big-endian.patch Patch3: 0003-evergreen-big-endian.patch
# Disable rgb10 configs by default: # Disable rgb10 configs by default:
@ -576,11 +579,11 @@ popd
%{_libdir}/dri/ili9225_dri.so %{_libdir}/dri/ili9225_dri.so
%{_libdir}/dri/ili9341_dri.so %{_libdir}/dri/ili9341_dri.so
%{_libdir}/dri/meson_dri.so %{_libdir}/dri/meson_dri.so
%{_libdir}/dri/mi8023qt_dri.so %{_libdir}/dri/mi0283qt_dri.so
%{_libdir}/dri/pl111_dri.so %{_libdir}/dri/pl111_dri.so
%{_libdir}/dri/repaper_dri.so %{_libdir}/dri/repaper_dri.so
%{_libdir}/dri/rockchip_dri.so %{_libdir}/dri/rockchip_dri.so
%{_libdir}/dri/st5786_dri.so %{_libdir}/dri/st7586_dri.so
%{_libdir}/dri/st7735r_dri.so %{_libdir}/dri/st7735r_dri.so
%{_libdir}/dri/sun4i-drm_dri.so %{_libdir}/dri/sun4i-drm_dri.so
%endif %endif