summaryrefslogtreecommitdiff
path: root/recipes-graphics/mesa/mesa/0001-kmsro-move-entry-points-from-etnaviv-to-kmsro.patch
blob: e64932538da6670d659e48d0ac6755df3b5662f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 8a69b020965f3dbcc509493d44c9122555da0c0d Mon Sep 17 00:00:00 2001
From: Norbert Wesp <n.wesp@phytec.de>
Date: Fri, 27 Mar 2020 10:08:58 +0100
Subject: [zeus+] kmsro: move entry points from etnaviv to kmsro

These drivers are kmsro drivers so they should be part of the kmsro #if

This fixes missing imx_drm driver when building with only freedreno+kmsro

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>

%% original patch: 0001-kmsro-move-entry-points-from-etnaviv-to-kmsro.patch
---
 src/gallium/targets/dri/target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c
index bae2f1ed002..f42be53906d 100644
--- a/src/gallium/targets/dri/target.c
+++ b/src/gallium/targets/dri/target.c
@@ -85,7 +85,6 @@ DEFINE_LOADER_DRM_ENTRYPOINT(panfrost)
 
 #if defined(GALLIUM_ETNAVIV)
 DEFINE_LOADER_DRM_ENTRYPOINT(armada_drm)
-DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(etnaviv)
 #endif
 
@@ -106,6 +105,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(rockchip)
 DEFINE_LOADER_DRM_ENTRYPOINT(st7586)
 DEFINE_LOADER_DRM_ENTRYPOINT(st7735r)
 DEFINE_LOADER_DRM_ENTRYPOINT(sun4i_drm)
+DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
 #endif
 
 #if defined(GALLIUM_LIMA)
-- 
2.17.1