forked from torvalds/linux
-
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-2023-01-03' of git://anongit.freedesktop.org…
…/drm/drm-misc into drm-next drm-misc-next for v6.3: UAPI Changes: * connector: Support analog-TV mode property * media: Add MEDIA_BUS_FMT_RGB565_1X24_CPADHI, MEDIA_BUS_FMT_RGB666_1X18 and MEDIA_BUS_FMT_RGB666_1X24_CPADHI Cross-subsystem Changes: * dma-buf: Documentation fixes * i2c: Introduce i2c_client_get_device_id() helper Core Changes: * Improve support for analog TV output * bridge: Remove unused drm_bridge_chain functions * debugfs: Add per-device helpers and convert various DRM drivers * dp-mst: Various fixes * fbdev emulation: Always pick 32 bpp as default * KUnit: Add tests for managed helpers; Various cleanups * panel-orientation: Add quirks for Lenovo Yoga Tab 3 X90F and DynaBook K50 * TTM: Open-code ttm_bo_wait() and remove the helper Driver Changes: * Fix preferred depth and bpp values throughout DRM drivers * Remove #CONFIG_PM guards throughout DRM drivers * ast: Various fixes * bridge: Implement i2c's probe_new in various drivers; Fixes; ite-it6505: Locking fixes, Cache EDID data; ite-it66121: Support IT6610 chip, Cleanups; lontium-tl9611: Fix HDMI on DragonBoard 845c; parade-ps8640: Use atomic bridge functions * gud: Convert to DRM shadow-plane helpers; Perform flushing synchronously during atomic update * ili9486: Support 16-bit pixel data * imx: Split off IPUv3 driver; Various fixes * mipi-dbi: Convert to DRM shadow-plane helpers plus rsp driver changes;i Support separate I/O-voltage supply * mxsfb: Depend on ARCH_MXS or ARCH_MXC * omapdrm: Various fixes * panel: Use ktime_get_boottime() to measure power-down delay in various drivers; Fix auto-suspend delay in various drivers; orisetech-ota5601a: Add support * sprd: Cleanups * sun4i: Convert to new TV-mode property * tidss: Various fixes * v3d: Various fixes * vc4: Convert to new TV-mode property; Support Kunit tests; Cleanups; dpi: Support RGB565 and RGB666 formats; dsi: Convert DSI driver to bridge * virtio: Improve tracing * vkms: Support small cursors in IGT tests; Various fixes Signed-off-by: Daniel Vetter <[email protected]> From: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/Y7QIwlfElAYWxRcR@linux-uq9g
- Loading branch information
Showing
253 changed files
with
6,902 additions
and
2,512 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
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
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/display/panel/focaltech,gpt3.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,56 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/display/panel/focaltech,gpt3.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Focaltech GPT3 3.0" (640x480 pixels) IPS LCD panel | ||
|
||
maintainers: | ||
- Christophe Branchereau <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: focaltech,gpt3 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- power-supply | ||
- reset-gpios | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
spi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
panel@0 { | ||
compatible = "focaltech,gpt3"; | ||
reg = <0>; | ||
spi-max-frequency = <3125000>; | ||
reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; | ||
backlight = <&backlight>; | ||
power-supply = <&vcc>; | ||
port { | ||
panel_input: endpoint { | ||
remote-endpoint = <&panel_output>; | ||
}; | ||
}; | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -508,17 +508,18 @@ Clean up the debugfs support | |
|
||
There's a bunch of issues with it: | ||
|
||
- The drm_info_list ->show() function doesn't even bother to cast to the drm | ||
structure for you. This is lazy. | ||
- Convert drivers to support the drm_debugfs_add_files() function instead of | ||
the drm_debugfs_create_files() function. | ||
|
||
- Improve late-register debugfs by rolling out the same debugfs pre-register | ||
infrastructure for connector and crtc too. That way, the drivers won't need to | ||
split their setup code into init and register anymore. | ||
|
||
- We probably want to have some support for debugfs files on crtc/connectors and | ||
maybe other kms objects directly in core. There's even drm_print support in | ||
the funcs for these objects to dump kms state, so it's all there. And then the | ||
->show() functions should obviously give you a pointer to the right object. | ||
|
||
- The drm_info_list stuff is centered on drm_minor instead of drm_device. For | ||
anything we want to print drm_device (or maybe drm_file) is the right thing. | ||
|
||
- The drm_driver->debugfs_init hooks we have is just an artifact of the old | ||
midlayered load sequence. DRM debugfs should work more like sysfs, where you | ||
can create properties/files for an object anytime you want, and the core | ||
|
@@ -527,8 +528,6 @@ There's a bunch of issues with it: | |
this (together with the drm_minor->drm_device move) would allow us to remove | ||
debugfs_init. | ||
|
||
Previous RFC that hasn't landed yet: https://lore.kernel.org/dri-devel/[email protected]/ | ||
|
||
Contact: Daniel Vetter | ||
|
||
Level: Intermediate | ||
|
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.