Commit 135130db authored by Dave Airlie's avatar Dave Airlie
Browse files

Merge tag 'drm-misc-next-2025-04-29' of...

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

 into drm-next

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

UAPI Changes:
- panthor now fails in mmap_offset call for a BO created with
  DRM_PANTHOR_BO_NO_MMAP.
- Add DRM_PANTHOR_BO_SET_LABEL ioctl and label panthor kernel BOs.

Cross-subsystem Changes:
- Add kmap_local_page_try_from_panic for drm/panic.
- Add DT bindings for panels.
- Update DT bindings for imagination.
- Extend %p4cc in lib/vsprintf.c to support fourcc printing.

Core Changes:
- Remove the disgusting turds.
- Register definition updates for DP.
- DisplayID timing blocks refactor.
- Remove now unused mipi_dsi_dsc_write_seq.
- Convert panel drivers to not return error in prepare/enable and
  unprepare/disable calls.

Driver Changes:
- Assorted small fixes and featuers for rockchip, panthor, accel/ivpu,
  accel/amdxdna, hisilicon/hibmc, i915/backlight, sysfb, accel/qaic,
  udl, etnaviv, virtio, xlnx, panel/boe-bf060y8m-aj0, bridge/synopsis,
  panthor, panel/samsung/sofef00m, lontium/lt9611uxc, nouveau, panel/himax-hx8279,
  panfrost, st7571-i2c.
- Improve hibmc interrupt handling and add HPD support.
- Add NLT NL13676BC25-03F, Tianma TM070JDHG34-00, Himax HX8279/HX8279-D
  DDIC, Visionox G2647FB105, Sitronix ST7571 LCD Controller, panels.
- Add zpos, alpha and blend to renesas.
- Convert drivers to use drm_gem_is_imported, replacing gem->import_attach.
- Support TI AM68 GPU in imagination.
- Support panic handler in virtio.
- Add support to get the panel from DP AUX bus in rockchip and add
  RK3588 support.
- Make sofef00 only support the sofef00 panel, not another unrelated
  one.
- Add debugfs BO dumping support to panthor, and print associated labels.
- Implement heartbeat based hangcheck in ivpu.
- Mass convert drivers to devm_drm_bridge_alloc api.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://lore.kernel.org/r/e2a958d9-e506-4962-8bae-0dbf2ecc000f@linux.intel.com
parents 9924db4a f2c8f90b
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -648,6 +648,38 @@ Examples::
	%p4cc	Y10  little-endian (0x20303159)
	%p4cc	NV12 big-endian (0xb231564e)

Generic FourCC code
-------------------

::
	%p4c[hnlb]	gP00 (0x67503030)

Print a generic FourCC code, as both ASCII characters and its numerical
value as hexadecimal.

The generic FourCC code is always printed in the big-endian format,
the most significant byte first. This is the opposite of V4L/DRM FourCCs.

The additional ``h``, ``n``, ``l``, and ``b`` specifiers define what
endianness is used to load the stored bytes. The data might be interpreted
using the host byte order, network byte order, little-endian, or big-endian.

Passed by reference.

Examples for a little-endian machine, given &(u32)0x67503030::

	%p4ch	gP00 (0x67503030)
	%p4cn	00Pg (0x30305067)
	%p4cl	gP00 (0x67503030)
	%p4cb	00Pg (0x30305067)

Examples for a big-endian machine, given &(u32)0x67503030::

	%p4ch	gP00 (0x67503030)
	%p4cn	00Pg (0x30305067)
	%p4cl	00Pg (0x30305067)
	%p4cb	gP00 (0x67503030)

Rust
----

+75 −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/himax,hx8279.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Himax HX8279/HX8279-D based MIPI-DSI panels

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

description:
  The Himax HX8279 is a 1803 channel outputs source driver with MIPI
  TCON, which generates the horizontal and vertical control timing to
  the source and gate drivers.
  This DriverIC is most suitable for 1200x1920, 1080x1920, 1200x1600,
  and 600x1024 panels and outputs full RGB888 over two or four lanes,
  single or dual, MIPI-DSI video interface.

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

properties:
  compatible:
    items:
      - enum:
          - aoly,sl101pm1794fog-v15
          - startek,kd070fhfid078
      - const: himax,hx8279

  reg:
    maxItems: 1

  iovcc-supply:
    description: I/O voltage supply

  vdd-supply:
    description: Panel power supply

required:
  - compatible
  - reg
  - backlight
  - reset-gpios
  - iovcc-supply
  - vdd-supply

unevaluatedProperties: false

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

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

        panel@0 {
            compatible = "startek,kd070fhfid078", "himax,hx8279";
            reg = <0>;
            backlight = <&backlight>;
            enable-gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
            reset-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
            iovcc-supply = <&vreg_lcm_vio>;
            vdd-supply = <&vreg_lcm_vdd>;

            port {
                panel_in: endpoint {
                    remote-endpoint = <&dsi_out>;
                };
            };
        };
    };

...
+4 −0
Original line number Diff line number Diff line
@@ -226,6 +226,8 @@ properties:
      - netron-dy,e231732
        # Newhaven Display International 480 x 272 TFT LCD panel
      - newhaven,nhd-4.3-480272ef-atxl
        # NLT Technologies, Ltd. 15.6" WXGA (1366×768) LVDS TFT LCD panel
      - nlt,nl13676bc25-03f
        # New Vision Display 7.0" 800 RGB x 480 TFT LCD panel
      - nvd,9128
        # OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel
@@ -286,6 +288,8 @@ properties:
      - startek,kd070wvfpa
        # Team Source Display Technology TST043015CMHX 4.3" WQVGA TFT LCD panel
      - team-source-display,tst043015cmhx
        # Tianma Micro-electronics P0700WXF1MBAA 7.0" WXGA (1280x800) LVDS TFT LCD panel
      - tianma,p0700wxf1mbaa
        # Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel
      - tianma,tm070jdhg30
        # Tianma Micro-electronics TM070JDHG34-00 7.0" WXGA (1280x800) LVDS TFT LCD panel
+79 −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/visionox,g2647fb105.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Visionox G2647FB105 6.47" 1080x2340 MIPI-DSI Panel

maintainers:
  - Alexander Baransky <sanyapilot496@gmail.com>

description:
  The Visionox G2647FB105 is a 6.47 inch 1080x2340 MIPI-DSI CMD mode OLED panel.

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

properties:
  compatible:
    const: visionox,g2647fb105

  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 = "visionox,g2647fb105";
            reg = <0>;

            vdd3p3-supply = <&vreg_l7c_3p0>;
            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>;
                };
            };
        };
    };

...
+23 −2
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ properties:
    enum:
      - rockchip,rk3288-dp
      - rockchip,rk3399-edp
      - rockchip,rk3588-edp

  clocks:
    minItems: 2
@@ -31,16 +32,23 @@ properties:
    maxItems: 1

  resets:
    maxItems: 1
    minItems: 1
    maxItems: 2

  reset-names:
    const: dp
    minItems: 1
    items:
      - const: dp
      - const: apb

  rockchip,grf:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      This SoC makes use of GRF regs.

  aux-bus:
    $ref: /schemas/display/dp-aux-bus.yaml#

required:
  - compatible
  - clocks
@@ -52,6 +60,19 @@ required:
allOf:
  - $ref: /schemas/display/bridge/analogix,dp.yaml#

  - if:
      properties:
        compatible:
          contains:
            enum:
              - rockchip,rk3588-edp
    then:
      properties:
        resets:
          minItems: 2
        reset-names:
          minItems: 2

unevaluatedProperties: false

examples:
Loading