Skip to content

Commit a5c95ca

Browse files
committed
Merge tag 'drm-next-2023-02-23' of git://anongit.freedesktop.org/drm/drm
Pull drm updates from Dave Airlie: "There are a bunch of changes all over in the usual places. Highlights: - habanalabs moves from misc to accel - first accel driver for Intel VPU (Versatile Processing Unit) inference engine - dropped all the ancient legacy DRI1 drivers. I think it's been at least 10 years since anyone has heard about these. - Intel DG2 updates and prelim Meteorlake enablement - etnaviv adds support for Versilicon NPU device (a GPU like engine with inference accelerators) Detailed summary: Removals: - remove legacy dri1 drivers: i810, mga, r128, savage, sis, tdfx, via New driver: - intel VPU accelerator driver - habanalabs comes via drm tree now drm/core: - use drm_dbg_ helpers in several places - Document defaults for CRTC backgrounds - Document use of drm_minor edid: - improve mode parsing and refactoring connector: - support analog TV mode property media: - add some common formats udmabuf: - add vmap/vunmap methods fourcc: - add XRGB1555 and RGB565 formats - document open source user waiver firmware: - fix color-format selection for system framebuffer format-helper: - Add conversion from XRGB8888 to various sysfb formats - Make XRGB8888 the only driver-emulated legacy format - Add conversion from XRGB8888 to XBGR8888 and ABGR8888 fb-helper: - fix preferred depth and bpp values across drivers - Avoid blank consoles from selecting an incorrect color format probe-helper: - Enable/disable HPD on connectors scheduler: - Fix lockup in drm_sched_entity_kill() - Deprecate drm_sched_resubmit_jobs() bridge: - remove unused functions - implement i2c probe_new in various drivers - ite-it6505: Locking fixes, Cache EDID data - ite-it66121: Support IT6610 chip - lontium-tl9611: Fix HDMI on DragonBoard 845c - parade-ps8640: Use atomic bridge functions - Support i.MX93 LDB plus DT bindings debugfs: - add per device helpers and convert drivers displayport: - mst fixes - add DP adaptive sync DPCD definitions fbdev: - always pick 32bpp as default - remove some unused code simpledrm: - support system memory framebuffers panel: - add orientation quirks for Lenovo Yoga Tab 3 X90F and DynaBook K50 - Use ktime_get_boottime() to measure power-down delay - Fix auto-suspend delay - Visionox VTDR6130 AMOLED DSI - Support Himax HX8394 - Convert many drivers to common generic DSI write-sequence helper - AUO A030JTN01 ttm: - drop bo wait wrapper - fix MIPS build habanalabs: - moved driver to accel subsystem - gaudi2 decoder error improvement - more trace events - Gaudi2 abrupt reset by firmware support - add uAPI to flush memory transactions - add uAPI to pass through userspace reqs to fw - remove dma-buf export by handle amdgpu: - add new INFO queries for peak and min sclk/mclk for profile modes - Add PCIe info to the INFO IOCTL - secure display support for multiple displays - DML optimizations - DCN 3.2 updates - PSR updates - DP 2.1 updates - SR-IOV RAS updates - VCN RAS support - SMU 13.x updates - Switch 1 element arrays to flexible arrays - Add RAS support for DF 4.3 - Stack size improvements - S0ix rework - Allow 0 as a vram limit on APUs - Handle profiling modes for SMU13.x - Fix possible segfault in failure case - Rework FW requests to happen in early_init for all IPs so that we don't lose the sbios console if FW is missing - Fix power reporting on certain firmwares for CZN/RN - Allow S0ix without BIOS support - Enable freesync over PCon - Re-enable the AGP aperture on GMC 11.x amdkfd: - Error handling fixes - PASID fixes - Fix for cleared VRAM BOs - Fix cleanup if GPUVM creation fails - Memory accounting fix - Use resource_size rather than open codeing it - GC11 mGPU fix radeon: - Switch 1 element arrays to flexible arrays - Fix memory leak on shutdown - move to new logging i915: - Meteorlake display/OA/GSC fw/workarounds enabling - DP MST DSC support - Gamma/degamma readout support for the state checker - Enable SDP split support for DP 2.0 - Add probe blocking support to i915.force_probe parameter - Enable Xe HP 4tile support - Avoid display direct calls to uncore - Fix HuC delayed load memory leaks - Add DG2 workarounds Wa_18018764978 and Wa_18019271663 - Improve suspend / resume times with VT-d scanout workaround active - Fix DG2 visual corruption on small BAR systems by not forgetting to copy CCS aux state - Fix TLB invalidation for Gen12.50 video and compute engines - Enable HF-EEODB by switching HDMI, DP and LVDS to use struct drm_edid - Start using unversioned DMC firmware paths for new platforms - ELD refactor: Stop using hardware buffer, precompute ELD - lots of display code refactoring nouveau: - drop legacy ioctl support - replace 0-sized array msm: - dpu/dsi/mdss: Support for SM8350, SM8450 SM8550 and SC8280XP platform - Added bindings for SM8150 - dpu: Partial support for DSC on SM8150 and SM8250 - dpu: Fixed color transformation matrix being lost on suspend/resume - dp: Support SDM845 and SC8280XP platforms - dp: Support for limiting DP link rate via DT property - dsi: Validate display modes according to the DSI OPP table - dsi: DSI PHY support for the SM6375 platform - Add MSM_SUBMIT_BO_NO_IMPLICI - a2xx: Support to load legacy firmware - a6xx: GPU devcore dump updates for a650/a660 - GPU devfreq tuning and fixes - Turn 8960 HDMI PHY into clock provider, - Make 8960 HDMI PHY use PXO clock from DT etnaviv: - experimental versilicon NPU support - report GPU load via fdinfo format - MMU fault message improvements tegra: - rework syncpoint interrupt mediatek: - DSI timing fix - fix config deps ast: - various fixes exynos: - restore bridge chain order fixes gud: - convert to shadow plane buffers - perform flushing synchronously during atomic update - Use new debugfs helpers arm/hdlcd: - Use new debugfs helper ili9486: - Support 16-bit pixel data imx: - Split off IPUv3 driver mipi-dbi: - convert to DRM shadow-plane helpers - rsp driver changes - Support separate I/O-voltage supply mxsfb: - Depend on ARCH_MXS or ARCH_MXC sun4i: - convert to new TV mode property vc4: - convert to new TV mode property - kunit tests - Support RGB565 and RGB666 formats - convert dsi driver to bridge - Various HVS an CRTC fixes v3d: - Do not opencode drm_gem_object_lookup() virtio: - improve tracing vkms: - support small cursors in IGT tests - Fix SEGFAULT from incorrect GEM-buffer mapping rcar-du: - fixes and improvements" * tag 'drm-next-2023-02-23' of git://anongit.freedesktop.org/drm/drm: (1455 commits) msm/fbdev: fix unused variable warning with clang. drm/fb-helper: Remove drm_fb_helper_unprepare() from drm_fb_helper_fini() dma-buf: make kobj_type structure constant drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt() drm/amd/display: disable SubVP + DRR to prevent underflow drm/amd/display: Fail atomic_check early on normalize_zpos error drm/amd/pm: avoid unaligned access warnings drm/amd/display: avoid unaligned access warnings drm/amd/display: Remove duplicate/repeating expressions drm/amd/display: Remove duplicate/repeating expression drm/amd/display: Make variables declaration inside ifdef guard drm/amd/display: Fix excess arguments on kernel-doc drm/amd/display: Add previously missing includes drm/amd/amdgpu: Add function prototypes to headers drm/amd/display: Add function prototypes to headers drm/amd/display: Turn global functions into static drm/amd/display: remove unused _calculate_degamma_curve function drm/amd/display: remove unused func declaration from resource headers drm/amd/display: unset initial value for tf since it's never used drm/amd/display: camel case cleanup in color_gamma file ...
2 parents 307e14c + a48bba9 commit a5c95ca

File tree

1,762 files changed

+61000
-49804
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,762 files changed

+61000
-49804
lines changed

Documentation/ABI/testing/sysfs-driver-habanalabs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,19 @@ What: /sys/class/habanalabs/hl<n>/status
201201
Date: Jan 2019
202202
KernelVersion: 5.1
203203
204-
Description: Status of the card: "Operational", "Malfunction", "In reset".
204+
Description: Status of the card:
205+
206+
* "operational" - Device is available for work.
207+
* "in reset" - Device is going through reset, will be
208+
available shortly.
209+
* "disabled" - Device is not usable.
210+
* "needs reset" - Device is not usable until a hard reset
211+
is initiated.
212+
* "in device creation" - Device is not available yet, as it
213+
is still initializing.
214+
* "in reset after device release" - Device is going through
215+
a compute-reset which is executed after a device release
216+
(relevant for Gaudi2 only).
205217

206218
What: /sys/class/habanalabs/hl<n>/thermal_ver
207219
Date: Jan 2019

Documentation/accel/introduction.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ tree - drivers/accel/.
6767
The accelerator devices will be exposed to the user space with the dedicated
6868
261 major number and will have the following convention:
6969

70-
- device char files - /dev/accel/accel*
71-
- sysfs - /sys/class/accel/accel*/
72-
- debugfs - /sys/kernel/debug/accel/*/
70+
- device char files - /dev/accel/accel\*
71+
- sysfs - /sys/class/accel/accel\*/
72+
- debugfs - /sys/kernel/debug/accel/\*/
7373

7474
Getting Started
7575
===============

Documentation/devicetree/bindings/display/bridge/cdns,dsi.txt

Lines changed: 0 additions & 112 deletions
This file was deleted.
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/bridge/cdns,dsi.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cadence DSI bridge
8+
9+
maintainers:
10+
- Boris Brezillon <[email protected]>
11+
12+
description: |
13+
CDNS DSI is a bridge device which converts DPI to DSI
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- cdns,dsi
19+
- ti,j721e-dsi
20+
21+
reg:
22+
minItems: 1
23+
items:
24+
- description:
25+
Register block for controller's registers.
26+
- description:
27+
Register block for wrapper settings registers in case of TI J7 SoCs.
28+
29+
clocks:
30+
items:
31+
- description: PSM clock, used by the IP
32+
- description: sys clock, used by the IP
33+
34+
clock-names:
35+
items:
36+
- const: dsi_p_clk
37+
- const: dsi_sys_clk
38+
39+
phys:
40+
maxItems: 1
41+
42+
phy-names:
43+
const: dphy
44+
45+
interrupts:
46+
maxItems: 1
47+
48+
resets:
49+
maxItems: 1
50+
51+
reset-names:
52+
const: dsi_p_rst
53+
54+
ports:
55+
$ref: /schemas/graph.yaml#/properties/ports
56+
57+
properties:
58+
port@0:
59+
$ref: /schemas/graph.yaml#/properties/port
60+
description:
61+
Output port representing the DSI output. It can have
62+
at most 4 endpoints. The endpoint number is directly encoding
63+
the DSI virtual channel used by this device.
64+
65+
port@1:
66+
$ref: /schemas/graph.yaml#/properties/port
67+
description:
68+
Input port representing the DPI input.
69+
70+
required:
71+
- port@1
72+
73+
allOf:
74+
- $ref: ../dsi-controller.yaml#
75+
76+
- if:
77+
properties:
78+
compatible:
79+
contains:
80+
const: ti,j721e-dsi
81+
then:
82+
properties:
83+
reg:
84+
minItems: 2
85+
maxItems: 2
86+
power-domains:
87+
maxItems: 1
88+
else:
89+
properties:
90+
reg:
91+
maxItems: 1
92+
93+
required:
94+
- compatible
95+
- reg
96+
- interrupts
97+
- clocks
98+
- clock-names
99+
- phys
100+
- phy-names
101+
- ports
102+
103+
unevaluatedProperties: false
104+
105+
examples:
106+
- |
107+
bus {
108+
#address-cells = <2>;
109+
#size-cells = <2>;
110+
111+
dsi@fd0c0000 {
112+
compatible = "cdns,dsi";
113+
reg = <0x0 0xfd0c0000 0x0 0x1000>;
114+
clocks = <&pclk>, <&sysclk>;
115+
clock-names = "dsi_p_clk", "dsi_sys_clk";
116+
interrupts = <1>;
117+
phys = <&dphy0>;
118+
phy-names = "dphy";
119+
120+
#address-cells = <1>;
121+
#size-cells = <0>;
122+
123+
ports {
124+
#address-cells = <1>;
125+
#size-cells = <0>;
126+
127+
port@1 {
128+
reg = <1>;
129+
endpoint {
130+
remote-endpoint = <&xxx_dpi_output>;
131+
};
132+
};
133+
};
134+
135+
panel@0 {
136+
compatible = "panasonic,vvx10f034n00";
137+
reg = <0>;
138+
power-supply = <&vcc_lcd_reg>;
139+
};
140+
};
141+
};
142+
143+
- |
144+
bus {
145+
#address-cells = <2>;
146+
#size-cells = <2>;
147+
148+
dsi@fd0c0000 {
149+
compatible = "cdns,dsi";
150+
reg = <0x0 0xfd0c0000 0x0 0x1000>;
151+
clocks = <&pclk>, <&sysclk>;
152+
clock-names = "dsi_p_clk", "dsi_sys_clk";
153+
interrupts = <1>;
154+
phys = <&dphy1>;
155+
phy-names = "dphy";
156+
157+
ports {
158+
#address-cells = <1>;
159+
#size-cells = <0>;
160+
161+
port@0 {
162+
reg = <0>;
163+
#address-cells = <1>;
164+
#size-cells = <0>;
165+
166+
endpoint@0 {
167+
reg = <0>;
168+
remote-endpoint = <&dsi_panel_input>;
169+
};
170+
};
171+
172+
port@1 {
173+
reg = <1>;
174+
endpoint {
175+
remote-endpoint = <&xxx_dpi_output>;
176+
};
177+
};
178+
};
179+
};
180+
};

Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ description: |
1616
1717
properties:
1818
compatible:
19-
const: fsl,imx8mp-ldb
19+
enum:
20+
- fsl,imx8mp-ldb
21+
- fsl,imx93-ldb
2022

2123
clocks:
2224
maxItems: 1
@@ -57,6 +59,18 @@ required:
5759
- clocks
5860
- ports
5961

62+
allOf:
63+
- if:
64+
properties:
65+
compatible:
66+
contains:
67+
const: fsl,imx93-ldb
68+
then:
69+
properties:
70+
ports:
71+
properties:
72+
port@2: false
73+
6074
additionalProperties: false
6175

6276
examples:

0 commit comments

Comments
 (0)