aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2020-07-06 13:35:43 +0200
committerMarge Bot <[email protected]>2020-07-07 09:51:40 +0000
commitc1ba7612fb0b954ced3fdfe498824f058b0cc037 (patch)
tree132ba8f801f5e85a8b7dc9c6d388bb262526b902
parent53e204dc26ec89ddc22de864711c844684fb67a8 (diff)
freedreno: Include adreno_pm4.xml.h before adreno_a6xx.xml.h
This matches the XML, and soon adreno_a6xx.xml will start including types from adreno_pm4.xml. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5557>
-rw-r--r--src/freedreno/fdl/fd6_layout_test.c1
-rw-r--r--src/freedreno/fdl/fd_layout_test.c1
-rw-r--r--src/freedreno/perfcntrs/fd6_perfcntr.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/freedreno/fdl/fd6_layout_test.c b/src/freedreno/fdl/fd6_layout_test.c
index 2a8083a866c..6c917d4bffc 100644
--- a/src/freedreno/fdl/fd6_layout_test.c
+++ b/src/freedreno/fdl/fd6_layout_test.c
@@ -24,6 +24,7 @@
#include "freedreno_layout.h"
#include "fd_layout_test.h"
#include "adreno_common.xml.h"
+#include "adreno_pm4.xml.h"
#include "a6xx.xml.h"
#include <stdio.h>
diff --git a/src/freedreno/fdl/fd_layout_test.c b/src/freedreno/fdl/fd_layout_test.c
index 03174e58688..99d17e52cc6 100644
--- a/src/freedreno/fdl/fd_layout_test.c
+++ b/src/freedreno/fdl/fd_layout_test.c
@@ -24,6 +24,7 @@
#include "freedreno_layout.h"
#include "fd_layout_test.h"
#include "adreno_common.xml.h"
+#include "adreno_pm4.xml.h"
#include "a6xx.xml.h"
#include <stdio.h>
diff --git a/src/freedreno/perfcntrs/fd6_perfcntr.c b/src/freedreno/perfcntrs/fd6_perfcntr.c
index fa5ee1232b4..02e55f8babd 100644
--- a/src/freedreno/perfcntrs/fd6_perfcntr.c
+++ b/src/freedreno/perfcntrs/fd6_perfcntr.c
@@ -29,6 +29,7 @@
#include "util/u_half.h"
#include "adreno_common.xml.h"
+#include "adreno_pm4.xml.h"
#include "a6xx.xml.h"
#define REG(_x) REG_A6XX_ ## _x