Commit Graph

208 Commits

Author SHA1 Message Date
ocldev
4abe8c8253 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-05-13 15:35:29 +02:00
Kulkarni, Ashwin Kumar
8c1f0836ae feature: enables basic framework for spdlogs
Related-To: NEO-10510

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-04-23 07:23:46 +02:00
ocldev
794c3a4442 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-04-04 12:56:21 +02:00
Mateusz Jablonski
089927406b refactor: move iaf headers to separate folder
add documentation about sources of linux kernel headers

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-29 12:11:51 +01:00
Mateusz Jablonski
bcaa62bed3 build: refactor linux kernel headers
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-28 14:48:09 +01:00
Mateusz Jablonski
1f96e6e251 fix: update uapi headers version to 6.8.1
source of files: https://git.kernel.org/stable/h/v6.8.1

Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-26 16:08:32 +01:00
Jitendra Sharma
b8c27ddb20 feature: Implement VM_BIND EU debug event for XE
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-03-22 15:02:49 +01:00
ocldev
64dad48c38 build: metrics-discovery revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-03-13 08:31:54 +01:00
ocldev
8939c2d21f build: metrics-library revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-03-13 08:10:27 +01:00
Young Jin Yoon
a027e7d8e4 build: update i915 prelim headers
third_party/uapi/prelim/drm from prelim v2.0-rc24
https://github.com/intel-gpu/drm-uapi-helper

Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-03-08 08:04:28 +01:00
Sylvain Munaut
e2c511bc00 feature(ocl): Improve Linux CL/GL sharing support
This commit is aimed at drastically improving the support for the CL/GL
sharing
extension on linux. The current support is not really usable as it only
supports a few texture format, and only on EGL contexts. It is also
pretty
buggy since it requires the texture to be bound when placing the CL call
to
share it which is just plain wrong and will not work in many
applications.
This new version makes used of the "official" interop extension from
MESA
which is available for GLX and EGL contexts, allows sharing of buffers
and
not just texture and supports many more formats.
This is still far from being a fully compliant / full featured version
of
the extension, but it's a big step forward in my opinion and allows to
run
some real applications.
I've tested gr-fosphor (SDR spectrum display) and Davinci Resolve as
examples.
Both of theses don't work without theses improvements.

Fixes: https://github.com/intel/compute-runtime/issues/659
Fixes: https://github.com/intel/compute-runtime/issues/667

https://github.com/intel/compute-runtime/pull/673

Related-To: NEO-3599

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-01 13:38:56 +01:00
Young Jin Yoon
e8192a2b85 build: update i915 prelim headers
third_party/uapi/prelim/drm from prelim v2.0-rc23
https://github.com/intel-gpu/drm-uapi-helper

Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-02-28 11:16:02 +01:00
Mateusz Jablonski
c49445ce4e refactor: remove not needed file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-27 17:31:02 +01:00
Jitendra Sharma
2c10f5639e feature: Implement thread control and att event handling for xe
Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-02-23 16:15:59 +01:00
ocldev
6ccd535687 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-02-23 11:23:48 +01:00
Compute-Runtime-Validation
40cea2f6fe Revert "feature: Implement thread control and att event handling for xe"
This reverts commit fb73fad6d7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-02-23 05:00:21 +01:00
Brandon Yates
0fa730e524 build: Update debugger uapi headers to latest
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-02-22 16:07:06 +01:00
Jitendra Sharma
fb73fad6d7 feature: Implement thread control and att event handling for xe
Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-02-22 15:24:35 +01:00
Mateusz Jablonski
327d4c4d48 fix: update OpenCL headers to v2023.12.14
https://github.com/KhronosGroup/OpenCL-Headers/releases/tag/v2023.12.14
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-01-25 16:42:14 +01:00
Jitendra Sharma
c0686da2d6 fix: update uapi eudebug headers
- Update uapi eudebug headers in third_party/uapi-eudebug/drm
to 67590b534a037466f83ae023f31c6186a53d9d86 from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev-pub

Related-To: NEO-9139


Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-01-23 16:39:56 +01:00
Yoon, Young Jin
9c7578f5f4 fix: change numa_library to read default policy
Changed NumaLibrary to read default policy instead of using
the address-based policy, and remove unnecessary argument.

Removed numaif.h from the repo as it is no longer required.

Related-To: NEO-8276
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
2024-01-19 08:31:41 +01:00
Naklicki, Mateusz
a28a2d305e fix: align NEO code to new uAPI header
PMU is removed from XeKMD as it is likely to change in the future.

Related-To: NEO-8324

Co-authored-by: Francois Dugast <francois.dugast@intel.com>
Co-authored-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-01-16 13:36:32 +01:00
Jitendra Sharma
2c8dcb2925 fix: update uapi eudebug headers
- Update uapi eudebug headers in third_party/uapi-eudebug/drm
to 48898f9ec7d7d89d969fb802669cec3cbbed9fee from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev-pub

Related-To: NEO-9139


Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-01-09 16:44:14 +01:00
Compute-Runtime-Validation
46d860b2bf Revert "feature: Register resources for Xe at vm creation (1/x)"
This reverts commit e1fefd1974.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-01-09 11:36:00 +01:00
Brandon Yates
e1fefd1974 feature: Register resources for Xe at vm creation (1/x)
Add interfaces to IoctlHelperXe for registering resources.
Introduce new debug key EnableXeResourceRegistration to attach
resources to vm_create ioctl.

Related-to: NEO-9161

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-01-08 13:36:24 +01:00
Young Jin Yoon
4ccae1dbb4 feature: support memory policy for GEM_CREATE
Modified ioctl_helper_prelim to support the extension of gem_create_ext,
i.e. prelim_drm_i915_gem_create_ext_mempolicy.

Added two debug variables to be used for the mempolicy extension.

Modified functions in memory_info and drm_memory_manager to support extension

Added numaif.h from https://github.com/numactl/numactl/tree/master,
v2.0.14

Related-To: NEO-8276
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-01-04 23:49:10 +01:00
Dunajski, Bartosz
87857a6558 feature: add new PVC device id
Related-To: NEO-9736

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-12-29 19:06:33 +01:00
Mateusz Jablonski
368070069e refactor: remove intel_hwconfig_types file from third party
remove not needed querying of vs/hs/ds/ps/gs threads

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-27 15:32:23 +01:00
ocldev
fd68e4f0cf build: metrics-discovery revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-12-27 13:41:20 +01:00
ocldev
7a061e5dcb build: metrics-library revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-12-27 13:12:45 +01:00
ocldev
047438850d build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-12-27 10:10:09 +01:00
Naklicki, Mateusz
611b847d19 fix: align NEO code to new uAPI header
Related-To: NEO-8324

Co-authored-by: Francois Dugast <francois.dugast@intel.com>
Co-authored-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-12-22 17:36:55 +01:00
Naklicki, Mateusz
08f7e7be18 fix: align NEO to new Xe KMD header
Align to the new PAT and cache coherency support

There is an issue with coherency=non_coh, which
is default option for some platforms.
Add temporary W/A until this issue is resolved.

xe_drm.h header is generated from the series
"PAT and cache coherency support"
from https://patchwork.freedesktop.org/series/123027/

Related-To: NEO-9421, NEO-8324
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-12-22 16:44:26 +01:00
Joshua Santosh Ranjan
b5660ea9ec fix: update uapi headers
Update uapi header to prelim v2.0-rc22

Related-To: NEO-8554

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-12-18 22:29:40 +01:00
Brandon Yates
0c7ba17f1a feature(debugger): Implement attach for xe debugger
Related-to: NEO-8407

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-12-18 16:27:17 +01:00
Compute-Runtime-Validation
c08b453059 Revert "feature(sysman): support v2 engine busyness counters"
This reverts commit 591c70e81e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-12-18 03:05:40 +01:00
Joshua Santosh Ranjan
591c70e81e feature(sysman): support v2 engine busyness counters
Updating related uapi header from v2.0-rc22

Related-To: NEO-8554

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-12-16 00:10:34 +01:00
Compute-Runtime-Validation
570b4d3d39 Revert "fix: align NEO to new Xe KMD header"
This reverts commit f68b8a2c97.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-12-14 10:23:31 +01:00
Naklicki, Mateusz
f68b8a2c97 fix: align NEO to new Xe KMD header
Align to the new PAT and cache coherency support

xe_drm.h header is generated from the series
"PAT and cache coherency support"
from https://patchwork.freedesktop.org/series/123027/

Related-To: NEO-9421, NEO-8324
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-12-13 14:14:35 +01:00
Young Jin Yoon
4964fb8e44 build: update i915 prelim headers
third_party/uapi/prelim/drm from prelim v2.0-rc21
https://github.com/intel-gpu/drm-uapi-helper

Related-To: NEO-8276
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2023-12-08 14:57:09 +01:00
Mateusz Jablonski
6cbcb743be feature: add support for release 12.74
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-05 08:01:31 +01:00
ocldev
11024ff3dd build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-11-29 12:14:56 +01:00
Naklicki, Mateusz
dc29c08abd fix: align NEO code to new uAPI header
Related-To: NEO-9566
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-11-27 19:50:23 +01:00
Francois Dugast
f465cf5f27 feature: update Xe KMD header
xe_drm.h header is generated from the series
"uAPI Alignment - Remove unused features"
from https://patchwork.freedesktop.org/series/126278/

This aligns with Xe KMD commit ("drm/xe/pmu: Drop interrupt pmu event").

Related-To: NEO-8324

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
2023-11-24 11:40:42 +01:00
Brandon Yates
fd48de3da9 feature(debugger): Add initial Xe debugger skeleton
sync xe_drm.h for debugger to 1d2144ed from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev

Related-to: NEO-8402

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-11-07 17:36:18 +01:00
Mateusz Jablonski
c3d43c3927 test: remove gmock
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-02 15:10:50 +01:00
ocldev
5353fdc306 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-10-30 11:39:34 +01:00
ocldev
820f32abe2 build: metrics-discovery revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-10-25 07:47:44 +02:00
ocldev
361f39b82d build: metrics-library revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-10-25 06:39:56 +02:00
Francois Dugast
1fd9d29f54 feature: update Xe KMD header
xe_drm.h header is generated from the series "uAPI Alignment - take 1 v4"
from https://patchwork.freedesktop.org/series/124387/

Related-To: NEO-8324
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Kamil, Kopryk <kamil.kopryk@intel.com>
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-10-24 12:03:45 +02:00