-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'drm-misc-next-2024-10-09' of https://gitlab.freedesktop.or…
…g/drm/misc/kernel into drm-next drm-misc-next for v6.13: UAPI Changes: - Add drm fdinfo support to panthor, and add sysfs knob to toggle. Cross-subsystem Changes: - Convert fbdev drivers to use backlight power constants. - Some small dma-fence fixes. - Some kernel-doc fixes. Core Changes: - Small drm client fixes. - Document requirements that you need to file a bug before marking a test as flaky. - Remove swapped and pinned bo's from TTM lru list. Driver Changes: - Assorted small fixes to panel/elida-kd35t133, nouveau, vc4, imx. - Fix some bridges to drop cached edids on power off. - Add Jenson BL-JT60050-01A, Samsung s6e3ha8 & AMS639RQ08 panels. - Make 180° rotation work on ilitek-ili9881c, even for already-rotated panels. - Signed-off-by: Dave Airlie <airlied@redhat.com> # Conflicts: # drivers/gpu/drm/panthor/panthor_drv.c From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/8dc111ca-d20c-4e0d-856e-c12d208cbf2a@linux.intel.com
- Loading branch information
Showing
76 changed files
with
1,759 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
What: /sys/bus/platform/drivers/panthor/.../profiling | ||
Date: September 2024 | ||
KernelVersion: 6.11.0 | ||
Contact: Adrian Larumbe <adrian.larumbe@collabora.com> | ||
Description: | ||
Bitmask to enable drm fdinfo's job profiling measurements. | ||
Valid values are: | ||
0: Don't enable fdinfo job profiling sources. | ||
1: Enable GPU cycle measurements for running jobs. | ||
2: Enable GPU timestamp sampling for running jobs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
Documentation/devicetree/bindings/display/panel/samsung,ams639rq08.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/display/panel/samsung,ams639rq08.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung AMS639RQ08 EA8076-based 6.39" 1080x2340 MIPI-DSI Panel | ||
|
||
maintainers: | ||
- Danila Tikhonov <danila@jiaxyga.com> | ||
- Jens Reidel <adrian@travitia.xyz> | ||
|
||
description: | ||
The Samsung AMS639RQ08 is a 6.39 inch 1080x2340 MIPI-DSI CMD mode AMOLED panel. | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: samsung,ams639rq08 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
vdd3p3-supply: | ||
description: 3.3V source voltage rail | ||
|
||
vddio-supply: | ||
description: I/O source voltage rail | ||
|
||
vsn-supply: | ||
description: Negative source voltage rail | ||
|
||
vsp-supply: | ||
description: Positive source voltage rail | ||
|
||
reset-gpios: true | ||
port: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- vdd3p3-supply | ||
- vddio-supply | ||
- vsn-supply | ||
- vsp-supply | ||
- reset-gpios | ||
- port | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
dsi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
panel@0 { | ||
compatible = "samsung,ams639rq08"; | ||
reg = <0>; | ||
vdd3p3-supply = <&vreg_l18a_2p8>; | ||
vddio-supply = <&vreg_l13a_1p8>; | ||
vsn-supply = <&vreg_ibb>; | ||
vsp-supply = <&vreg_lab>; | ||
reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>; | ||
port { | ||
panel_in: endpoint { | ||
remote-endpoint = <&mdss_dsi0_out>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
... |
75 changes: 75 additions & 0 deletions
75
Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/display/panel/samsung,s6e3ha8.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung s6e3ha8 AMOLED DSI panel | ||
|
||
description: The s6e3ha8 is a 1440x2960 DPI display panel from Samsung Mobile | ||
Displays (SMD). | ||
|
||
maintainers: | ||
- Dzmitry Sankouski <dsankouski@gmail.com> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: samsung,s6e3ha8 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
reset-gpios: true | ||
|
||
port: true | ||
|
||
vdd3-supply: | ||
description: VDD regulator | ||
|
||
vci-supply: | ||
description: VCI regulator | ||
|
||
vddr-supply: | ||
description: VDDR regulator | ||
|
||
required: | ||
- compatible | ||
- reset-gpios | ||
- vdd3-supply | ||
- vci-supply | ||
- vddr-supply | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
dsi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
panel@0 { | ||
compatible = "samsung,s6e3ha8"; | ||
reg = <0>; | ||
vci-supply = <&s2dos05_ldo4>; | ||
vddr-supply = <&s2dos05_buck1>; | ||
vdd3-supply = <&s2dos05_ldo1>; | ||
te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>; | ||
reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; | ||
pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>; | ||
pinctrl-1 = <&sde_dsi_suspend &sde_te_active_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
port { | ||
panel_in: endpoint { | ||
remote-endpoint = <&mdss_dsi0_out>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.. SPDX-License-Identifier: GPL-2.0+ | ||
========================= | ||
drm/Panthor CSF driver | ||
========================= | ||
|
||
.. _panfrost-usage-stats: | ||
|
||
Panthor DRM client usage stats implementation | ||
============================================== | ||
|
||
The drm/Panthor driver implements the DRM client usage stats specification as | ||
documented in :ref:`drm-client-usage-stats`. | ||
|
||
Example of the output showing the implemented key value pairs and entirety of | ||
the currently possible format options: | ||
|
||
:: | ||
pos: 0 | ||
flags: 02400002 | ||
mnt_id: 29 | ||
ino: 491 | ||
drm-driver: panthor | ||
drm-client-id: 10 | ||
drm-engine-panthor: 111110952750 ns | ||
drm-cycles-panthor: 94439687187 | ||
drm-maxfreq-panthor: 1000000000 Hz | ||
drm-curfreq-panthor: 1000000000 Hz | ||
drm-total-memory: 16480 KiB | ||
drm-shared-memory: 0 | ||
drm-active-memory: 16200 KiB | ||
drm-resident-memory: 16480 KiB | ||
drm-purgeable-memory: 0 | ||
|
||
Possible `drm-engine-` key names are: `panthor`. | ||
`drm-curfreq-` values convey the current operating frequency for that engine. | ||
|
||
Users must bear in mind that engine and cycle sampling are disabled by default, | ||
because of power saving concerns. `fdinfo` users and benchmark applications which | ||
query the fdinfo file must make sure to toggle the job profiling status of the | ||
driver by writing into the appropriate sysfs node:: | ||
|
||
echo <N> > /sys/bus/platform/drivers/panthor/[a-f0-9]*.gpu/profiling | ||
|
||
Where `N` is a bit mask where cycle and timestamp sampling are respectively | ||
enabled by the first and second bits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.