Skip to content

Commit d219702

Browse files
committed
Merge tag 'drm-xe-next-2023-12-21-pr1-1' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next
Introduce a new DRM driver for Intel GPUs Xe, is a new driver for Intel GPUs that supports both integrated and discrete platforms. The experimental support starts with Tiger Lake. i915 will continue be the main production driver for the platforms up to Meteor Lake and Alchemist. Then the goal is to make this Intel Xe driver the primary driver for Lunar Lake and newer platforms. It uses most, if not all, of the key drm concepts, in special: TTM, drm-scheduler, drm-exec, drm-gpuvm/gpuva and others. Signed-off-by: Dave Airlie <airlied@redhat.com> [airlied: add an extra X86 check, fix a typo, fix drm_exec_init interface change]. From: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ZYSwLgXZUZ57qGPQ@intel.com
2 parents 6aaff21 + b6e1b70 commit d219702

File tree

352 files changed

+61425
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

352 files changed

+61425
-1
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
What: /sys/devices/.../hwmon/hwmon<i>/power1_max
2+
Date: September 2023
3+
KernelVersion: 6.5
4+
Contact: intel-xe@lists.freedesktop.org
5+
Description: RW. Card reactive sustained (PL1) power limit in microwatts.
6+
7+
The power controller will throttle the operating frequency
8+
if the power averaged over a window (typically seconds)
9+
exceeds this limit. A read value of 0 means that the PL1
10+
power limit is disabled, writing 0 disables the
11+
limit. Writing values > 0 and <= TDP will enable the power limit.
12+
13+
Only supported for particular Intel xe graphics platforms.
14+
15+
What: /sys/devices/.../hwmon/hwmon<i>/power1_rated_max
16+
Date: September 2023
17+
KernelVersion: 6.5
18+
Contact: intel-xe@lists.freedesktop.org
19+
Description: RO. Card default power limit (default TDP setting).
20+
21+
Only supported for particular Intel xe graphics platforms.
22+
23+
What: /sys/devices/.../hwmon/hwmon<i>/power1_crit
24+
Date: September 2023
25+
KernelVersion: 6.5
26+
Contact: intel-xe@lists.freedesktop.org
27+
Description: RW. Card reactive critical (I1) power limit in microwatts.
28+
29+
Card reactive critical (I1) power limit in microwatts is exposed
30+
for client products. The power controller will throttle the
31+
operating frequency if the power averaged over a window exceeds
32+
this limit.
33+
34+
Only supported for particular Intel xe graphics platforms.
35+
36+
What: /sys/devices/.../hwmon/hwmon<i>/curr1_crit
37+
Date: September 2023
38+
KernelVersion: 6.5
39+
Contact: intel-xe@lists.freedesktop.org
40+
Description: RW. Card reactive critical (I1) power limit in milliamperes.
41+
42+
Card reactive critical (I1) power limit in milliamperes is
43+
exposed for server products. The power controller will throttle
44+
the operating frequency if the power averaged over a window
45+
exceeds this limit.
46+
47+
What: /sys/devices/.../hwmon/hwmon<i>/in0_input
48+
Date: September 2023
49+
KernelVersion: 6.5
50+
Contact: intel-xe@lists.freedesktop.org
51+
Description: RO. Current Voltage in millivolt.
52+
53+
Only supported for particular Intel xe graphics platforms.
54+
55+
What: /sys/devices/.../hwmon/hwmon<i>/energy1_input
56+
Date: September 2023
57+
KernelVersion: 6.5
58+
Contact: intel-xe@lists.freedesktop.org
59+
Description: RO. Energy input of device in microjoules.
60+
61+
Only supported for particular Intel xe graphics platforms.
62+
63+
What: /sys/devices/.../hwmon/hwmon<i>/power1_max_interval
64+
Date: October 2023
65+
KernelVersion: 6.6
66+
Contact: intel-xe@lists.freedesktop.org
67+
Description: RW. Sustained power limit interval (Tau in PL1/Tau) in
68+
milliseconds over which sustained power is averaged.
69+
70+
Only supported for particular Intel xe graphics platforms.

Documentation/gpu/driver-uapi.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ VM_BIND / EXEC uAPI
1717
:doc: Overview
1818

1919
.. kernel-doc:: include/uapi/drm/nouveau_drm.h
20+
21+
drm/xe uAPI
22+
===========
23+
24+
.. kernel-doc:: include/uapi/drm/xe_drm.h

Documentation/gpu/drivers.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ GPU Driver Documentation
1818
vkms
1919
bridge/dw-hdmi
2020
xen-front
21+
xe/index
2122
afbc
2223
komeda-kms
2324
panfrost

Documentation/gpu/xe/index.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
=======================
4+
drm/xe Intel GFX Driver
5+
=======================
6+
7+
The drm/xe driver supports some future GFX cards with rendering, display,
8+
compute and media. Support for currently available platforms like TGL, ADL,
9+
DG2, etc is provided to prototype the driver.
10+
11+
.. toctree::
12+
:titlesonly:
13+
14+
xe_mm
15+
xe_map
16+
xe_migrate
17+
xe_cs
18+
xe_pm
19+
xe_pcode
20+
xe_gt_mcr
21+
xe_wa
22+
xe_rtp
23+
xe_firmware
24+
xe_tile
25+
xe_debugging

Documentation/gpu/xe/xe_cs.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
==================
4+
Command submission
5+
==================
6+
7+
.. kernel-doc:: drivers/gpu/drm/xe/xe_exec.c
8+
:doc: Execbuf (User GPU command submission)

Documentation/gpu/xe/xe_debugging.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
=========
4+
Debugging
5+
=========
6+
7+
.. kernel-doc:: drivers/gpu/drm/xe/xe_assert.h

Documentation/gpu/xe/xe_firmware.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
========
4+
Firmware
5+
========
6+
7+
Firmware Layout
8+
===============
9+
10+
.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h
11+
:doc: CSS-based Firmware Layout
12+
13+
.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h
14+
:doc: GSC-based Firmware Layout
15+
16+
Write Once Protected Content Memory (WOPCM) Layout
17+
==================================================
18+
19+
.. kernel-doc:: drivers/gpu/drm/xe/xe_wopcm.c
20+
:doc: Write Once Protected Content Memory (WOPCM) Layout
21+
22+
GuC CTB Blob
23+
============
24+
25+
.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_ct.c
26+
:doc: GuC CTB Blob
27+
28+
GuC Power Conservation (PC)
29+
===========================
30+
31+
.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_pc.c
32+
:doc: GuC Power Conservation (PC)
33+
34+
Internal API
35+
============
36+
37+
TODO

Documentation/gpu/xe/xe_gt_mcr.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
==============================================
4+
GT Multicast/Replicated (MCR) Register Support
5+
==============================================
6+
7+
.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_mcr.c
8+
:doc: GT Multicast/Replicated (MCR) Register Support
9+
10+
Internal API
11+
============
12+
13+
TODO

Documentation/gpu/xe/xe_map.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
=========
4+
Map Layer
5+
=========
6+
7+
.. kernel-doc:: drivers/gpu/drm/xe/xe_map.h
8+
:doc: Map layer

Documentation/gpu/xe/xe_migrate.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
=============
4+
Migrate Layer
5+
=============
6+
7+
.. kernel-doc:: drivers/gpu/drm/xe/xe_migrate_doc.h
8+
:doc: Migrate Layer

0 commit comments

Comments
 (0)