Commit f9fa0122 authored by Dave Airlie's avatar Dave Airlie
Browse files

Merge tag 'drm-misc-next-2025-05-08' of...

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

 into drm-next

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

Cross-subsystem Changes:
- Change vsprintf %p4cn to %p4chR, remove %p4cn.

Core Changes:
- Documentation updates (fb rendering, actual_brightness)

Driver Changes:
- Small fixes to appletbdrm, panthor, st7571-i2c, rockchip, renesas,
  panic handler, gpusvm, vkms, panel timings.
- Add AUO B140QAN08.H, BOE NE140WUM-N6S, CSW MNE007QS3-8, BOE TD4320 panels.
- Convert rk3066_hdmi to bridge driver.
- Improve HPD on anx7625.
- Speed up loading tegra firmware, and other small fixes to tegra & host1x.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://lore.kernel.org/r/5428be12-fc08-4e28-8c5f-85d73b8a7e04@linux.intel.com
parents 80669042 78184f6e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -26,7 +26,12 @@ Date: March 2006
KernelVersion:	2.6.17
Contact:	Richard Purdie <rpurdie@rpsys.net>
Description:
		Show the actual brightness by querying the hardware.
		Show the actual brightness by querying the hardware. Due
		to implementation differences in hardware this may not
		match the value in 'brightness'. For example some hardware
		may treat blanking differently or have custom power saving
		features. Userspace should generally use the values in
		'brightness' to make decisions.
Users:		HAL

What:		/sys/class/backlight/<backlight>/max_brightness
+5 −5
Original line number Diff line number Diff line
@@ -652,7 +652,7 @@ Generic FourCC code
-------------------

::
	%p4c[hnlb]	gP00 (0x67503030)
	%p4c[h[R]lb]	gP00 (0x67503030)

Print a generic FourCC code, as both ASCII characters and its numerical
value as hexadecimal.
@@ -660,23 +660,23 @@ 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
The additional ``h``, ``hR``, ``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.
using the host, reversed host 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)
	%p4chR	00Pg (0x30305067)
	%p4cl	gP00 (0x67503030)
	%p4cb	00Pg (0x30305067)

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

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

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

title: BOE TD4320 MIPI-DSI panels

maintainers:
  - Barnabas Czeman <barnabas.czeman@mainlining.org>

description:
  BOE TD4320 6.3" 1080x2340 panel found in Xiaomi Redmi Note 7 smartphone.

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

properties:
  compatible:
    items:
      - const: boe,td4320

  reg:
    maxItems: 1

  iovcc-supply:
    description: I/O voltage rail

  vsn-supply:
    description: Negative source voltage rail

  vsp-supply:
    description: Positive source voltage rail

required:
  - compatible
  - reg
  - reset-gpios
  - port

unevaluatedProperties: false

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

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

        panel@0 {
            compatible = "boe,td4320";
            reg = <0>;
            backlight = <&backlight>;
            reset-gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;

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

...
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ properties:
    maxItems: 1

  backlight: true
  port: true
  reset-gpios: true
  iovcc-supply:
    description: regulator that supplies the iovcc voltage
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ properties:
    maxItems: 1

  backlight: true
  port: true
  reset-gpios: true
  iovcc-supply:
    description: regulator that supplies the iovcc voltage
Loading