Commit 91dae758 authored by Simona Vetter's avatar Simona Vetter
Browse files

Merge tag 'drm-misc-next-2024-08-01' of...

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

 into drm-next

drm-misc-next for v6.12:

UAPI Changes:

virtio:
- Define DRM capset

Cross-subsystem Changes:

dma-buf:
- heaps: Clean up documentation

printk:
- Pass description to kmsg_dump()

Core Changes:

CI:
- Update IGT tests
- Point upstream repo to GitLab instance

modesetting:
- Introduce Power Saving Policy property for connectors
- Add might_fault() to drm_modeset_lock priming
- Add dynamic per-crtc vblank configuration support

panic:
- Avoid build-time interference with framebuffer console

docs:
- Document Colorspace property

scheduler:
- Remove full_recover from drm_sched_start

TTM:
- Make LRU walk restartable after dropping locks
- Allow direct reclaim to allocate local memory

Driver Changes:

amdgpu:
- Support Power Saving Policy connector property

ast:
- astdp: Support AST2600 with VGA; Clean up HPD

bridge:
- Silence error message on -EPROBE_DEFER
- analogix: Clean aup
- bridge-connector: Fix double free
- lt6505: Disable interrupt when powered off
- tc358767: Make default DP port preemphasis configurable

gma500:
- Update i2c terminology

ivpu:
- Add MODULE_FIRMWARE()

lcdif:
- Fix pixel clock

loongson:
- Use GEM refcount over TTM's

mgag200:
- Improve BMC handling
- Support VBLANK intterupts

nouveau:
- Refactor and clean up internals
- Use GEM refcount over TTM's

panel:
- Shutdown fixes plus documentation
- Refactor several drivers for better code sharing
- boe-th101mb31ig002: Support for starry-er88577 MIPI-DSI panel plus
  DT; Fix porch parameter
- edp: Support AOU B116XTN02.3, AUO B116XAN06.1, AOU B116XAT04.1,
  BOE NV140WUM-N41, BOE NV133WUM-N63, BOE NV116WHM-A4D, CMN N116BCA-EA2,
  CMN N116BCP-EA2, CSW MNB601LS1-4
- himax-hx8394: Support Microchip AC40T08A MIPI Display panel plus DT
- ilitek-ili9806e: Support Densitron DMT028VGHMCMI-1D TFT plus DT
- jd9365da: Support Melfas lmfbx101117480 MIPI-DSI panel plus DT; Refactor
  for code sharing

sti:
- Fix module owner

stm:
- Avoid UAF wih managed plane and CRTC helpers
- Fix module owner
- Fix error handling in probe
- Depend on COMMON_CLK
- ltdc: Fix transparency after disabling plane; Remove unused interrupt

tegra:
- Call drm_atomic_helper_shutdown()

v3d:
- Clean up perfmon

vkms:
- Clean up

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
From: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240801121406.GA102996@linux.fritz.box
parents a4172af3 d97e71e4
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -147,12 +147,6 @@ DRM_IOCTL_QAIC_PERF_STATS_BO
  recent execution of a BO. This allows userspace to construct an end to end
  timeline of the BO processing for a performance analysis.

DRM_IOCTL_QAIC_PART_DEV
  This IOCTL allows userspace to request a duplicate "shadow device". This extra
  accelN device is associated with a specific partition of resources on the
  AIC100 device and can be used for limiting a process to some subset of
  resources.

DRM_IOCTL_QAIC_DETACH_SLICE_BO
  This IOCTL allows userspace to remove the slicing information from a BO that
  was originally provided by a call to DRM_IOCTL_QAIC_ATTACH_SLICE_BO. This
+20 −1
Original line number Diff line number Diff line
@@ -92,12 +92,31 @@ properties:
            reference to a valid DPI output or input endpoint node.

      port@2:
        $ref: /schemas/graph.yaml#/properties/port
        $ref: /schemas/graph.yaml#/$defs/port-base
        unevaluatedProperties: false
        description: |
            eDP/DP output port. The remote endpoint phandle should be a
            reference to a valid eDP panel input endpoint node. This port is
            optional, treated as DP panel if not defined

        properties:
          endpoint:
            $ref: /schemas/media/video-interfaces.yaml#
            unevaluatedProperties: false

            properties:
              toshiba,pre-emphasis:
                description:
                  Display port output Pre-Emphasis settings for both DP lanes.
                $ref: /schemas/types.yaml#/definitions/uint8-array
                minItems: 2
                maxItems: 2
                items:
                  enum:
                    - 0 # No pre-emphasis
                    - 1 # 3.5dB pre-emphasis
                    - 2 # 6dB pre-emphasis

    oneOf:
      - required:
          - port@0
+18 −3
Original line number Diff line number Diff line
@@ -9,20 +9,20 @@ title: BOE TH101MB31IG002-28A WXGA DSI Display Panel
maintainers:
  - Manuel Traut <manut@mecka.net>

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

properties:
  compatible:
    enum:
        # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
      - boe,th101mb31ig002-28a
        # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel
      - starry,er88577

  reg:
    maxItems: 1

  backlight: true
  enable-gpios: true
  reset-gpios: true
  power-supply: true
  port: true
  rotation: true
@@ -33,6 +33,20 @@ required:
  - enable-gpios
  - power-supply

allOf:
  - $ref: panel-common.yaml#
  - if:
      properties:
        compatible:
          # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel
          const: starry,er88577
    then:
      properties:
        reset-gpios: false
    else:
      required:
        - reset-gpios

additionalProperties: false

examples:
@@ -47,6 +61,7 @@ examples:
            reg = <0>;
            backlight = <&backlight_lcd0>;
            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
            reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
            rotation = <90>;
            power-supply = <&vcc_3v3>;
            port {
+13 −4
Original line number Diff line number Diff line
@@ -15,14 +15,12 @@ description:
  such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with
  a MIPI-DSI video interface.

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

properties:
  compatible:
    items:
      - enum:
          - hannstar,hsd060bhw4
          - microchip,ac40t08a-mipi-panel
          - powkiddy,x55-panel
      - const: himax,hx8394

@@ -46,7 +44,6 @@ properties:
required:
  - compatible
  - reg
  - reset-gpios
  - backlight
  - port
  - vcc-supply
@@ -54,6 +51,18 @@ required:

additionalProperties: false

allOf:
  - $ref: panel-common.yaml#
  - if:
      not:
        properties:
          compatible:
            enum:
              - microchip,ac40t08a-mipi-panel
    then:
      required:
        - reset-gpios

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ properties:
  compatible:
    items:
      - enum:
          - densitron,dmt028vghmcmi-1d
          - ortustech,com35h3p70ulc
      - const: ilitek,ili9806e

Loading