Commit 2871ec40 authored by Dave Airlie's avatar Dave Airlie
Browse files

Merge tag 'drm-misc-next-2024-04-19' of...

Merge tag 'drm-misc-next-2024-04-19' of https://gitlab.freedesktop.org/drm/misc/kernel

 into drm-next

drm-misc-next for v6.10-rc1:

UAPI Changes:
- Add SIZE_HINTS property for cursor planes.

Cross-subsystem Changes:

Core Changes:
- Document the requirements and expectations of adding new
  driver-specific properties.
- Assorted small fixes to ttm.
- More Kconfig fixes.
- Add struct drm_edid_product_id and helpers.
- Use drm device based logging in more drm functions.
- Fixes for drm-panic, and option to test it.
- Assorted small fixes and updates to edid.
- Add drm_crtc_vblank_crtc and use it in vkms, nouveau.

Driver Changes:
- Assorted small fixes and improvements to bridge/imx8mp-hdmi-tx, nouveau, ast, qaic, lima, vc4, bridge/anx7625, mipi-dsi.
- Add drm panic to simpledrm, mgag200, imx, ast.
- Use dev_err_probe in bridge/panel drivers.
- Add Innolux G121X1-L03, LG sw43408 panels.
- Use struct drm_edid in i915 bios parsing.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2dc1b7c6-1743-4ddd-ad42-36f700234fbe@linux.intel.com
parents 377b5b39 069a6c0e
Loading
Loading
Loading
Loading
+62 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/lg,sw43408.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: LG SW43408 1080x2160 DSI panel

maintainers:
  - Caleb Connolly <caleb.connolly@linaro.org>

description:
  This panel is used on the Pixel 3, it is a 60hz OLED panel which
  required DSC (Display Stream Compression) and has rounded corners.

allOf:
  - $ref: panel-common.yaml#

properties:
  compatible:
    items:
      - const: lg,sw43408

  reg: true
  port: true
  vddi-supply: true
  vpnl-supply: true
  reset-gpios: true

required:
  - compatible
  - vddi-supply
  - vpnl-supply
  - reset-gpios

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    dsi {
        #address-cells = <1>;
        #size-cells = <0>;

        panel@0 {
            compatible = "lg,sw43408";
            reg = <0>;

            vddi-supply = <&vreg_l14a_1p88>;
            vpnl-supply = <&vreg_l28a_3p0>;

            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;

            port {
                endpoint {
                    remote-endpoint = <&mdss_dsi0_out>;
                };
            };
        };
    };
...
+2 −0
Original line number Diff line number Diff line
@@ -190,6 +190,8 @@ properties:
      - innolux,g121i1-l01
        # Innolux Corporation 12.1" G121X1-L03 XGA (1024x768) TFT LCD panel
      - innolux,g121x1-l03
        # Innolux Corporation 12.1" G121XCE-L01 XGA (1024x768) TFT LCD panel
      - innolux,g121xce-l01
        # Innolux Corporation 11.6" WXGA (1366x768) TFT LCD panel
      - innolux,n116bca-ea1
        # Innolux Corporation 11.6" WXGA (1366x768) TFT LCD panel
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ consider though:
  the usual size discover pattern size = SEEK_END(0); SEEK_SET(0). Every other
  llseek operation will report -EINVAL.

  If llseek on dma-buf FDs isn't support the kernel will report -ESPIPE for all
  If llseek on dma-buf FDs isn't supported the kernel will report -ESPIPE for all
  cases. Userspace can use this to detect support for discovering the dma-buf
  size using llseek.

+22 −0
Original line number Diff line number Diff line
@@ -398,6 +398,21 @@ Plane Damage Tracking Functions Reference
.. kernel-doc:: include/drm/drm_damage_helper.h
   :internal:

Plane Panic Feature
-------------------

.. kernel-doc:: drivers/gpu/drm/drm_panic.c
   :doc: overview

Plane Panic Functions Reference
-------------------------------

.. kernel-doc:: include/drm/drm_panic.h
   :internal:

.. kernel-doc:: drivers/gpu/drm/drm_panic.c
   :export:

Display Modes Function Reference
================================

@@ -496,6 +511,13 @@ addition to the one mentioned above:

* An IGT test must be submitted where reasonable.

For historical reasons, non-standard, driver-specific properties exist. If a KMS
driver wants to add support for one of those properties, the requirements for
new properties apply where possible. Additionally, the documented behavior must
match the de facto semantics of the existing property to ensure compatibility.
Developers of the driver that first added the property should help with those
tasks and must ACK the documented behavior if possible.

Property Types and Blob Property Support
----------------------------------------

+8 −0
Original line number Diff line number Diff line
@@ -6764,6 +6764,14 @@ S: Maintained
F:	Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml
F:	drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c
DRM DRIVER FOR LG SW43408 PANELS
M:	Sumit Semwal <sumit.semwal@linaro.org>
M:	Caleb Connolly <caleb.connolly@linaro.org>
S:	Maintained
T:	git git://anongit.freedesktop.org/drm/drm-misc
F:	Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml
F:	drivers/gpu/drm/panel/panel-lg-sw43408.c
DRM DRIVER FOR LOGICVC DISPLAY CONTROLLER
M:	Paul Kocialkowski <paul.kocialkowski@bootlin.com>
S:	Supported
Loading