Mesa (main): intel/ds: use the right i915_drm.h include location
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 14 20:48:02 UTC 2022
Module: Mesa
Branch: main
Commit: 61766f9f90a4c955bb77788663cdf2de1447fa86
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61766f9f90a4c955bb77788663cdf2de1447fa86
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sun Nov 28 21:33:04 2021 +0200
intel/ds: use the right i915_drm.h include location
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Rohan Garg <rohan.garg at intel.com>
Acked-by: Antonio Caggiano <antonio.caggiano at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13996>
---
src/intel/ds/intel_pps_driver.cc | 2 +-
src/intel/ds/intel_pps_perf.cc | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/intel/ds/intel_pps_driver.cc b/src/intel/ds/intel_pps_driver.cc
index 5d94f31af81..43b744e4f47 100644
--- a/src/intel/ds/intel_pps_driver.cc
+++ b/src/intel/ds/intel_pps_driver.cc
@@ -16,7 +16,7 @@
#include <sys/ioctl.h>
#include <unistd.h>
-#include <i915_drm.h>
+#include "drm-uapi/i915_drm.h"
#include "common/intel_gem.h"
#include "dev/intel_device_info.h"
diff --git a/src/intel/ds/intel_pps_perf.cc b/src/intel/ds/intel_pps_perf.cc
index f72b80a9c6b..c4c7424976d 100644
--- a/src/intel/ds/intel_pps_perf.cc
+++ b/src/intel/ds/intel_pps_perf.cc
@@ -7,12 +7,13 @@
#include "intel_pps_perf.h"
-#include <i915_drm.h>
#include <math.h>
#include <sys/ioctl.h>
#include <util/ralloc.h>
#include <utility>
+#include "drm-uapi/i915_drm.h"
+
#include <pps/pps.h>
#include <pps/pps_device.h>
More information about the mesa-commit
mailing list