Skip to content

Commit de848da

Browse files
committed
Merge tag 'drm-next-2024-09-19' of https://gitlab.freedesktop.org/drm/kernel
Pull drm updates from Dave Airlie: "This adds a couple of patches outside the drm core, all should be acked appropriately, the string and pstore ones are the main ones that come to mind. Otherwise it's the usual drivers, xe is getting enabled by default on some new hardware, we've changed the device number handling to allow more devices, and we added some optional rust code to create QR codes in the panic handler, an idea first suggested I think 10 years ago :-) string: - add mem_is_zero() core: - support more device numbers - use XArray for minor ids - add backlight constants - Split dma fence array creation into alloc and arm fbdev: - remove usage of old fbdev hooks kms: - Add might_fault() to drm_modeset_lock priming - Add dynamic per-crtc vblank configuration support dma-buf: - docs cleanup buddy: - Add start address support for trim function printk: - pass description to kmsg_dump scheduler: - Remove full_recover from drm_sched_start ttm: - Make LRU walk restartable after dropping locks - Allow direct reclaim to allocate local memory panic: - add display QR code (in rust) displayport: - mst: GUID improvements bridge: - Silence error message on -EPROBE_DEFER - analogix: Clean aup - bridge-connector: Fix double free - lt6505: Disable interrupt when powered off - tc358767: Make default DP port preemphasis configurable - lt9611uxc: require DRM_BRIDGE_ATTACH_NO_CONNECTOR - anx7625: simplify OF array handling - dw-hdmi: simplify clock handling - lontium-lt8912b: fix mode validation - nwl-dsi: fix mode vsync/hsync polarity xe: - Enable LunarLake and Battlemage support - Introducing Xe2 ccs modifiers for integrated and discrete graphics - rename xe perf to xe observation - use wb caching on DGFX for system memory - add fence timeouts - Lunar Lake graphics/media/display workarounds - Battlemage workarounds - Battlemage GSC support - GSC and HuC fw updates for LL/BM - use dma_fence_chain_free - refactor hw engine lookup and mmio access - enable priority mem read for Xe2 - Add first GuC BMG fw - fix dma-resv lock - Fix DGFX display suspend/resume - Use xe_managed for kernel BOs - Use reserved copy engine for user binds on faulting devices - Allow mixing dma-fence jobs and long-running faulting jobs - fix media TLB invalidation - fix rpm in TTM swapout path - track resources and VF state by PF i915: - Type-C programming fix for MTL+ - FBC cleanup - Calc vblank delay more accurately - On DP MST, Enable LT fallback for UHBR<->non-UHBR rates - Fix DP LTTPR detection - limit relocations to INT_MAX - fix long hangs in buddy allocator on DG2/A380 amdgpu: - Per-queue reset support - SDMA devcoredump support - DCN 4.0.1 updates - GFX12/VCN4/JPEG4 updates - Convert vbios embedded EDID to drm_edid - GFX9.3/9.4 devcoredump support - process isolation framework for GFX 9.4.3/4 - take IOMMU mappings into account for P2P DMA amdkfd: - CRIU fixes - HMM fix - Enable process isolation support for GFX 9.4.3/4 - Allow users to target recommended SDMA engines - KFD support for targetting queues on recommended SDMA engines radeon: - remove .load and drm_dev_alloc - Fix vbios embedded EDID size handling - Convert vbios embedded EDID to drm_edid - Use GEM references instead of TTM - r100 cp init cleanup - Fix potential overflows in evergreen CS offset tracking msm: - DPU: - implement DP/PHY mapping on SC8180X - Enable writeback on SM8150, SC8180X, SM6125, SM6350 - DP: - Enable widebus on all relevant chipsets - MSM8998 HDMI support - GPU: - A642L speedbin support - A615/A306/A621 support - A7xx devcoredump support ast: - astdp: Support AST2600 with VGA - Clean up HPD - Fix timeout loop for DP link training - reorganize output code by type (VGA, DP, etc) - convert to struct drm_edid - fix BMC handling for all outputs exynos: - drop stale MAINTAINERS pattern - constify struct loongson: - use GEM refcount over TTM mgag200: - Improve BMC handling - Support VBLANK intterupts - transparently support BMC outputs nouveau: - Refactor and clean up internals - Use GEM refcount over TTM's gm12u320: - convert to struct drm_edid gma500: - update i2c terms lcdif: - pixel clock fix host1x: - fix syncpoint IRQ during resume - use iommu_paging_domain_alloc() imx: - ipuv3: convert to struct drm_edid omapdrm: - improve error handling - use common helper for_each_endpoint_of_node() panel: - add support for BOE TV101WUM-LL2 plus DT bindings - novatek-nt35950: improve error handling - nv3051d: improve error handling - panel-edp: - add support for BOE NE140WUM-N6G - revert support for SDC ATNA45AF01 - visionox-vtdr6130: - improve error handling - use devm_regulator_bulk_get_const() - boe-th101mb31ig002: - Support for starry-er88577 MIPI-DSI panel plus DT - Fix porch parameter - edp: Support AOU B116XTN02.3, AUO B116XAN06.1, AOU B116XAT04.1, BOE NV140WUM-N41, BOE NV133WUM-N63, BOE NV116WHM-A4D, CMN N116BCA-EA2, CMN N116BCP-EA2, CSW MNB601LS1-4 - himax-hx8394: Support Microchip AC40T08A MIPI Display panel plus DT - ilitek-ili9806e: Support Densitron DMT028VGHMCMI-1D TFT plus DT - jd9365da: - Support Melfas lmfbx101117480 MIPI-DSI panel plus DT - Refactor for code sharing - panel-edp: fix name for HKC MB116AN01 - jd9365da: fix "exit sleep" commands - jdi-fhd-r63452: simplify error handling with DSI multi-style helpers - mantix-mlaf057we51: simplify error handling with DSI multi-style helpers - simple: - support Innolux G070ACE-LH3 plus DT bindings - support On Tat Industrial Company KD50G21-40NT-A1 plus DT bindings - st7701: - decouple DSI and DRM code - add SPI support - support Anbernic RG28XX plus DT bindings mediatek: - support alpha blending - remove cl in struct cmdq_pkt - ovl adaptor fix - add power domain binding for mediatek DPI controller renesas: - rz-du: add support for RZ/G2UL plus DT bindings rockchip: - Improve DP sink-capability reporting - dw_hdmi: Support 4k@60Hz - vop: - Support RGB display on Rockchip RK3066 - Support 4096px width sti: - convert to struct drm_edid stm: - Avoid UAF wih managed plane and CRTC helpers - Fix module owner - Fix error handling in probe - Depend on COMMON_CLK - ltdc: - Fix transparency after disabling plane - Remove unused interrupt tegra: - gr3d: improve PM domain handling - convert to struct drm_edid - Call drm_atomic_helper_shutdown() vc4: - fix PM during detect - replace DRM_ERROR() with drm_error() - v3d: simplify clock retrieval v3d: - Clean up perfmon virtio: - add DRM capset" * tag 'drm-next-2024-09-19' of https://gitlab.freedesktop.org/drm/kernel: (1326 commits) drm/xe: Fix missing conversion to xe_display_pm_runtime_resume drm/xe/xe2hpg: Add Wa_15016589081 drm/xe: Don't keep stale pointer to bo->ggtt_node drm/xe: fix missing 'xe_vm_put' drm/xe: fix build warning with CONFIG_PM=n drm/xe: Suppress missing outer rpm protection warning drm/xe: prevent potential UAF in pf_provision_vf_ggtt() drm/amd/display: Add all planes on CRTC to state for overlay cursor drm/i915/bios: fix printk format width drm/i915/display: Fix BMG CCS modifiers drm/amdgpu: get rid of bogus includes of fdtable.h drm/amdkfd: CRIU fixes drm/amdgpu: fix a race in kfd_mem_export_dmabuf() drm: new helper: drm_gem_prime_handle_to_dmabuf() drm/amdgpu/atomfirmware: Silence UBSAN warning drm/amdgpu: Fix kdoc entry in 'amdgpu_vm_cpu_prepare' drm/amd/amdgpu: apply command submission parser for JPEG v1 drm/amd/amdgpu: apply command submission parser for JPEG v2+ drm/amd/pm: fix the pp_dpm_pcie issue on smu v14.0.2/3 drm/amd/pm: update the features set on smu v14.0.2/3 ...
2 parents 1760007 + ae2c6d8 commit de848da

File tree

1,267 files changed

+43509
-21686
lines changed

Some content is hidden

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

1,267 files changed

+43509
-21686
lines changed

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,10 @@ Shuah Khan <[email protected]> <[email protected]>
613613
614614
615615
616+
617+
618+
619+
616620
617621
618622
Simon Kelley <[email protected]>

Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,11 @@ Description: RO. Energy input of device or gt in microjoules.
7575
for the gt.
7676

7777
Only supported for particular Intel i915 graphics platforms.
78+
79+
What: /sys/bus/pci/drivers/i915/.../hwmon/hwmon<i>/fan1_input
80+
Date: November 2024
81+
KernelVersion: 6.12
82+
83+
Description: RO. Fan speed of device in RPM.
84+
85+
Only supported for particular Intel i915 graphics platforms.

Documentation/accel/qaic/qaic.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,6 @@ DRM_IOCTL_QAIC_PERF_STATS_BO
147147
recent execution of a BO. This allows userspace to construct an end to end
148148
timeline of the BO processing for a performance analysis.
149149

150-
DRM_IOCTL_QAIC_PART_DEV
151-
This IOCTL allows userspace to request a duplicate "shadow device". This extra
152-
accelN device is associated with a specific partition of resources on the
153-
AIC100 device and can be used for limiting a process to some subset of
154-
resources.
155-
156150
DRM_IOCTL_QAIC_DETACH_SLICE_BO
157151
This IOCTL allows userspace to remove the slicing information from a BO that
158152
was originally provided by a call to DRM_IOCTL_QAIC_ATTACH_SLICE_BO. This

Documentation/devicetree/bindings/display/bridge/toshiba,tc358767.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,31 @@ properties:
9292
reference to a valid DPI output or input endpoint node.
9393
9494
port@2:
95-
$ref: /schemas/graph.yaml#/properties/port
95+
$ref: /schemas/graph.yaml#/$defs/port-base
96+
unevaluatedProperties: false
9697
description: |
9798
eDP/DP output port. The remote endpoint phandle should be a
9899
reference to a valid eDP panel input endpoint node. This port is
99100
optional, treated as DP panel if not defined
100101
102+
properties:
103+
endpoint:
104+
$ref: /schemas/media/video-interfaces.yaml#
105+
unevaluatedProperties: false
106+
107+
properties:
108+
toshiba,pre-emphasis:
109+
description:
110+
Display port output Pre-Emphasis settings for both DP lanes.
111+
$ref: /schemas/types.yaml#/definitions/uint8-array
112+
minItems: 2
113+
maxItems: 2
114+
items:
115+
enum:
116+
- 0 # No pre-emphasis
117+
- 1 # 3.5dB pre-emphasis
118+
- 2 # 6dB pre-emphasis
119+
101120
oneOf:
102121
- required:
103122
- port@0

Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ properties:
6262
- const: default
6363
- const: sleep
6464

65+
power-domains:
66+
maxItems: 1
67+
6568
port:
6669
$ref: /schemas/graph.yaml#/properties/port
6770
description:
@@ -76,6 +79,20 @@ required:
7679
- clock-names
7780
- port
7881

82+
allOf:
83+
- if:
84+
not:
85+
properties:
86+
compatible:
87+
contains:
88+
enum:
89+
- mediatek,mt6795-dpi
90+
- mediatek,mt8173-dpi
91+
- mediatek,mt8186-dpi
92+
then:
93+
properties:
94+
power-domains: false
95+
7996
additionalProperties: false
8097

8198
examples:

Documentation/devicetree/bindings/display/msm/hdmi.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ properties:
1919
- qcom,hdmi-tx-8974
2020
- qcom,hdmi-tx-8994
2121
- qcom,hdmi-tx-8996
22+
- qcom,hdmi-tx-8998
2223

2324
clocks:
2425
minItems: 1
25-
maxItems: 5
26+
maxItems: 8
2627

2728
clock-names:
2829
minItems: 1
29-
maxItems: 5
30+
maxItems: 8
3031

3132
reg:
3233
minItems: 1
@@ -142,6 +143,7 @@ allOf:
142143
properties:
143144
clocks:
144145
minItems: 5
146+
maxItems: 5
145147
clock-names:
146148
items:
147149
- const: mdp_core
@@ -151,6 +153,28 @@ allOf:
151153
- const: extp
152154
hdmi-mux-supplies: false
153155

156+
- if:
157+
properties:
158+
compatible:
159+
contains:
160+
enum:
161+
- qcom,hdmi-tx-8998
162+
then:
163+
properties:
164+
clocks:
165+
minItems: 8
166+
maxItems: 8
167+
clock-names:
168+
items:
169+
- const: mdp_core
170+
- const: iface
171+
- const: core
172+
- const: alt_iface
173+
- const: extp
174+
- const: bus
175+
- const: mnoc
176+
- const: iface_mmss
177+
154178
additionalProperties: false
155179

156180
examples:

Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ title: BOE TH101MB31IG002-28A WXGA DSI Display Panel
99
maintainers:
1010
- Manuel Traut <[email protected]>
1111

12-
allOf:
13-
- $ref: panel-common.yaml#
14-
1512
properties:
1613
compatible:
1714
enum:
1815
# BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
1916
- boe,th101mb31ig002-28a
17+
# The Starry-er88577 is a 10.1" WXGA TFT-LCD panel
18+
- starry,er88577
2019

2120
reg:
2221
maxItems: 1
2322

2423
backlight: true
2524
enable-gpios: true
25+
reset-gpios: true
2626
power-supply: true
2727
port: true
2828
rotation: true
@@ -33,6 +33,20 @@ required:
3333
- enable-gpios
3434
- power-supply
3535

36+
allOf:
37+
- $ref: panel-common.yaml#
38+
- if:
39+
properties:
40+
compatible:
41+
# The Starry-er88577 is a 10.1" WXGA TFT-LCD panel
42+
const: starry,er88577
43+
then:
44+
properties:
45+
reset-gpios: false
46+
else:
47+
required:
48+
- reset-gpios
49+
3650
additionalProperties: false
3751

3852
examples:
@@ -47,6 +61,7 @@ examples:
4761
reg = <0>;
4862
backlight = <&backlight_lcd0>;
4963
enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
64+
reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
5065
rotation = <90>;
5166
power-supply = <&vcc_3v3>;
5267
port {
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/panel/boe,tv101wum-ll2.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: BOE TV101WUM-LL2 DSI Display Panel
8+
9+
maintainers:
10+
- Neil Armstrong <[email protected]>
11+
12+
allOf:
13+
- $ref: panel-common.yaml#
14+
15+
properties:
16+
compatible:
17+
const: boe,tv101wum-ll2
18+
19+
reg:
20+
maxItems: 1
21+
description: DSI virtual channel
22+
23+
backlight: true
24+
reset-gpios: true
25+
vsp-supply: true
26+
vsn-supply: true
27+
port: true
28+
rotation: true
29+
30+
required:
31+
- compatible
32+
- reg
33+
- reset-gpios
34+
- vsp-supply
35+
- vsn-supply
36+
- port
37+
38+
additionalProperties: false
39+
40+
examples:
41+
- |
42+
#include <dt-bindings/gpio/gpio.h>
43+
dsi {
44+
#address-cells = <1>;
45+
#size-cells = <0>;
46+
panel@0 {
47+
compatible = "boe,tv101wum-ll2";
48+
reg = <0>;
49+
50+
vsn-supply = <&vsn_lcd>;
51+
vsp-supply = <&vsp_lcd>;
52+
53+
reset-gpios = <&pio 45 GPIO_ACTIVE_LOW>;
54+
55+
port {
56+
panel_in: endpoint {
57+
remote-endpoint = <&dsi_out>;
58+
};
59+
};
60+
};
61+
};
62+
63+
...

Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ description:
1515
such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with
1616
a MIPI-DSI video interface.
1717

18-
allOf:
19-
- $ref: panel-common.yaml#
20-
2118
properties:
2219
compatible:
2320
items:
2421
- enum:
2522
- hannstar,hsd060bhw4
23+
- microchip,ac40t08a-mipi-panel
2624
- powkiddy,x55-panel
2725
- const: himax,hx8394
2826

@@ -46,14 +44,25 @@ properties:
4644
required:
4745
- compatible
4846
- reg
49-
- reset-gpios
5047
- backlight
5148
- port
5249
- vcc-supply
5350
- iovcc-supply
5451

5552
additionalProperties: false
5653

54+
allOf:
55+
- $ref: panel-common.yaml#
56+
- if:
57+
not:
58+
properties:
59+
compatible:
60+
enum:
61+
- microchip,ac40t08a-mipi-panel
62+
then:
63+
required:
64+
- reset-gpios
65+
5766
examples:
5867
- |
5968
#include <dt-bindings/gpio/gpio.h>

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ properties:
1616
compatible:
1717
items:
1818
- enum:
19+
- densitron,dmt028vghmcmi-1d
1920
- ortustech,com35h3p70ulc
2021
- const: ilitek,ili9806e
2122

0 commit comments

Comments
 (0)