Skip to contentSkip to conversation

drm-misc-next

GIT PULL Thomas Zimmermann 2 participants 2 messages Aug 22, 2024 – Aug 27, 2024

lore
Share & tools
lore
#0 lore raw

Hi Dave, Sima,

here's this week's PR for drm-misc-next. It adds support for more panels, and easier error handling for DSI code. Ast should finally have decent support for BMC output. Plus the usual bug fixes.

In the kernel's string helpers there's the new function mem_is_zero(), which the EDID code uses in several places.

Best regards
Thomas

drm-misc-next-2024-08-22:
drm-misc-next for v6.12:

Cross-subsystem Changes:

string:
- add mem_is_zero()

Core Changes:

edid:
- use mem_is_zero()

Driver Changes:

ast:
- reorganize output code by type (VGA, DP, etc)
- convert to struct drm_edid
- fix BMC handling for all outputs

bridge:
- anx7625: simplify OF array handling
- dw-hdmi: simplify clock handling
- lontium-lt8912b: fix mode validation
- nwl-dsi: fix mode vsync/hsync polarity

panel:
- ili9341: fix comments
- jd9365da: fix "exit sleep" commands
- jdi-fhd-r63452: simplify error handling with DSI multi-style helpers
- mantix-mlaf057we51: simplify error handling with DSI multi-style helpers
- simple: support Innolux G070ACE-LH3 plus DT bindings; support On Tat Industrial Company KD50G21-40NT-A1 plus DT bindings
- st7701: decouple DSI and DRM code; add SPI support; support Anbernic RG28XX plus DT bindings

vc4:
- fix PM during detect
- replace DRM_ERROR() with drm_error()
- v3d: simplify clock retrieval
The following changes since commit 8befe8fa5a4e4b30787b17e078d9d7b5cb92ea19:

drm/tilcdc: Use backlight power constants (2024-08-16 09:28:01 +0200)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2024-08-22

for you to fetch changes up to f60ef67ff21ede6f3d27d439a136481446dbd8aa:

drm/vc4: v3d: simplify clock retrieval (2024-08-22 07:57:44 -0300)

----------------------------------------------------------------
drm-misc-next for v6.12:

Cross-subsystem Changes:

string:
- add mem_is_zero()

Core Changes:

edid:
- use mem_is_zero()

Driver Changes:

ast:
- reorganize output code by type (VGA, DP, etc)
- convert to struct drm_edid
- fix BMC handling for all outputs

bridge:
- anx7625: simplify OF array handling
- dw-hdmi: simplify clock handling
- lontium-lt8912b: fix mode validation
- nwl-dsi: fix mode vsync/hsync polarity

panel:
- ili9341: fix comments
- jd9365da: fix "exit sleep" commands
- jdi-fhd-r63452: simplify error handling with DSI multi-style helpers
- mantix-mlaf057we51: simplify error handling with DSI multi-style helpers
- simple: support Innolux G070ACE-LH3 plus DT bindings; support On Tat Industrial Company KD50G21-40NT-A1 plus DT bindings
- st7701: decouple DSI and DRM code; add SPI support; support Anbernic RG28XX plus DT bindings

vc4:
- fix PM during detect
- replace DRM_ERROR() with drm_error()
- v3d: simplify clock retrieval

----------------------------------------------------------------
Abhishek Tamboli (1):
drm/panel: ili9341: Add comments for registers in ili9341_config()

Cristian Ciocaltea (1):
drm/bridge: dw-hdmi: Simplify clock handling

Esben Haabendal (1):
drm/bridge: nwl-dsi: Use vsync/hsync polarity from display mode

Hironori KIKUCHI (5):
drm/panel: st7701: Rename macros
drm/panel: st7701: Decouple DSI and DRM parts
dt-bindings: display: st7701: Add Anbernic RG28XX panel drm/panel: st7701: Add support for SPI for configuration drm/panel: st7701: Add Anbernic RG28XX panel support

Jani Nikula (2):
string: add mem_is_zero() helper to check if memory area is all zeros
drm: use mem_is_zero() instead of !memchr_inv(s, 0, n)

Jeffrey Hugo (1):
MAINTAINERS: qaic: Drop Pranjal as reviewer

Liu Ying (3):
drm/bridge: lontium-lt8912b: Validate mode in drm_bridge_funcs::mode_valid()
dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel

Rob Herring (Arm) (1):
drm: bridge: anx7625: Use of_property_read_variable_u8_array()

Stefan Wahren (3):
drm/vc4: hdmi: Handle error case of pm_runtime_resume_and_get drm/vc4: Get the rid of DRM_ERROR()
drm/vc4: v3d: simplify clock retrieval

Steffen Trumtrar (2):
dt-bindings: display: simple: Document support for Innolux G070ACE-LH3 drm/panel: simple: add Innolux G070ACE-LH3 LVDS display support

Tejas Vipin (4):
drm/panel: mantix-mlaf057we51: transition to mipi_dsi wrapped functions drm/panel: mantix-mlaf057we51: write hex in lowercase drm/mipi-dsi: Add mipi_dsi_dcs_set_tear_scanline_multi drm/panel: jdi-fhd-r63452: transition to mipi_dsi wrapped functions

Thomas Zimmermann (11):
drm/ast: Move code for physical outputs into separate files drm/ast: Add struct ast_connector
drm/ast: astdp: Move locking into EDID helper drm/ast: astdp: Use struct drm_edid and helpers drm/ast: astdp: Simplify power management when detecting display drm/ast: astdp: Transparently handle BMC support drm/ast: dp501: Use struct drm_edid and helpers drm/ast: dp501: Transparently handle BMC support drm/ast: sil164: Transparently handle BMC support drm/ast: vga: Transparently handle BMC support drm/ast: Remove BMC output

Zhaoxiong Lv (2):
drm/panel: jd9365da: Move "exit sleep mode" and "set display on" cmds drm/panel: jd9365da: Modify the init code of Melfas

 .../bindings/display/panel/panel-simple.yaml       |    4 +
 .../bindings/display/panel/sitronix,st7701.yaml    |   69 +-
 MAINTAINERS                                        |    1 -
 drivers/gpu/drm/ast/Makefile                       |    4 +-
 drivers/gpu/drm/ast/ast_dp.c                       |  242 ++++-
 drivers/gpu/drm/ast/ast_dp501.c                    |  184 +++-
 drivers/gpu/drm/ast/ast_drv.h                      |   42 +-
 drivers/gpu/drm/ast/ast_mode.c                     |  578 ----------
 drivers/gpu/drm/ast/ast_sil164.c                   |  127 +++
 drivers/gpu/drm/ast/ast_vga.c                      |  127 +++
 drivers/gpu/drm/bridge/analogix/anx7625.c          |   22 +-
 drivers/gpu/drm/bridge/lontium-lt8912b.c           |   35 +-
 drivers/gpu/drm/bridge/nwl-dsi.c                   |    8 +-
 drivers/gpu/drm/bridge/nwl-dsi.h                   |    4 +-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |   66 +-
 drivers/gpu/drm/drm_edid.c                         |    2 +-
 drivers/gpu/drm/drm_mipi_dsi.c                     |   31 +
 drivers/gpu/drm/i915/display/intel_dp.c            |    2 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    2 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c   |    2 +-
 drivers/gpu/drm/imagination/pvr_device.h           |    2 +-
 drivers/gpu/drm/panel/Kconfig                      |    3 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9341.c       |   14 +-
 drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c   |  137 +--
 drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c       |  149 +--
 drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c   |   79 +-
 drivers/gpu/drm/panel/panel-simple.c               |   71 ++
 drivers/gpu/drm/panel/panel-sitronix-st7701.c      | 1122 ++++++++++++--------
 drivers/gpu/drm/udl/udl_edid.c                     |    2 +-
 drivers/gpu/drm/vc4/vc4_bo.c                       |   14 +-
 drivers/gpu/drm/vc4/vc4_dpi.c                      |   14 +-
 drivers/gpu/drm/vc4/vc4_dsi.c                      |   32 +-
 drivers/gpu/drm/vc4/vc4_gem.c                      |   11 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |   44 +-
 drivers/gpu/drm/vc4/vc4_hvs.c                      |    4 +-
 drivers/gpu/drm/vc4/vc4_irq.c                      |    2 +-
 drivers/gpu/drm/vc4/vc4_v3d.c                      |   24 +-
 drivers/gpu/drm/vc4/vc4_validate.c                 |    8 +-
 drivers/gpu/drm/vc4/vc4_vec.c                      |   10 +-
 include/drm/drm_mipi_dsi.h                         |    2 +
 include/linux/string.h                             |   12 +
 41 files changed, 1830 insertions(+), 1478 deletions(-)
 create mode 100644 drivers/gpu/drm/ast/ast_sil164.c
 create mode 100644 drivers/gpu/drm/ast/ast_vga.c
Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#1 lore raw
Quoted 56 lines · Thomas Zimmermann

Hi Dave, Sima,

here's this week's PR for drm-misc-next. It adds support for more panels, and easier error handling for DSI code. Ast should finally have decent support for BMC output. Plus the usual bug fixes.

In the kernel's string helpers there's the new function mem_is_zero(), which the EDID code uses in several places.

Best regards
Thomas

drm-misc-next-2024-08-22:
drm-misc-next for v6.12:

Cross-subsystem Changes:

string:
- add mem_is_zero()

Core Changes:

edid:
- use mem_is_zero()

Driver Changes:

ast:
- reorganize output code by type (VGA, DP, etc)
- convert to struct drm_edid
- fix BMC handling for all outputs

bridge:
- anx7625: simplify OF array handling
- dw-hdmi: simplify clock handling
- lontium-lt8912b: fix mode validation
- nwl-dsi: fix mode vsync/hsync polarity

panel:
- ili9341: fix comments
- jd9365da: fix "exit sleep" commands
- jdi-fhd-r63452: simplify error handling with DSI multi-style helpers
- mantix-mlaf057we51: simplify error handling with DSI multi-style helpers
- simple: support Innolux G070ACE-LH3 plus DT bindings; support On Tat Industrial Company KD50G21-40NT-A1 plus DT bindings
- st7701: decouple DSI and DRM code; add SPI support; support Anbernic RG28XX plus DT bindings

vc4:
- fix PM during detect
- replace DRM_ERROR() with drm_error()
- v3d: simplify clock retrieval
The following changes since commit 8befe8fa5a4e4b30787b17e078d9d7b5cb92ea19:

Quoted 5 lines

drm/tilcdc: Use backlight power constants (2024-08-16 09:28:01 +0200)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2024-08-22

Pulled, thanks.
-Sima

Quoted 164 lines

for you to fetch changes up to f60ef67ff21ede6f3d27d439a136481446dbd8aa:

drm/vc4: v3d: simplify clock retrieval (2024-08-22 07:57:44 -0300)

----------------------------------------------------------------
drm-misc-next for v6.12:

Cross-subsystem Changes:

string:
- add mem_is_zero()

Core Changes:

edid:
- use mem_is_zero()

Driver Changes:

ast:
- reorganize output code by type (VGA, DP, etc)
- convert to struct drm_edid
- fix BMC handling for all outputs

bridge:
- anx7625: simplify OF array handling
- dw-hdmi: simplify clock handling
- lontium-lt8912b: fix mode validation
- nwl-dsi: fix mode vsync/hsync polarity

panel:
- ili9341: fix comments
- jd9365da: fix "exit sleep" commands
- jdi-fhd-r63452: simplify error handling with DSI multi-style helpers
- mantix-mlaf057we51: simplify error handling with DSI multi-style helpers
- simple: support Innolux G070ACE-LH3 plus DT bindings; support On Tat Industrial Company KD50G21-40NT-A1 plus DT bindings
- st7701: decouple DSI and DRM code; add SPI support; support Anbernic RG28XX plus DT bindings

vc4:
- fix PM during detect
- replace DRM_ERROR() with drm_error()
- v3d: simplify clock retrieval

----------------------------------------------------------------
Abhishek Tamboli (1):
drm/panel: ili9341: Add comments for registers in ili9341_config()

Cristian Ciocaltea (1):
drm/bridge: dw-hdmi: Simplify clock handling

Esben Haabendal (1):
drm/bridge: nwl-dsi: Use vsync/hsync polarity from display mode

Hironori KIKUCHI (5):
drm/panel: st7701: Rename macros
drm/panel: st7701: Decouple DSI and DRM parts
dt-bindings: display: st7701: Add Anbernic RG28XX panel drm/panel: st7701: Add support for SPI for configuration drm/panel: st7701: Add Anbernic RG28XX panel support

Jani Nikula (2):
string: add mem_is_zero() helper to check if memory area is all zeros
drm: use mem_is_zero() instead of !memchr_inv(s, 0, n)

Jeffrey Hugo (1):
MAINTAINERS: qaic: Drop Pranjal as reviewer

Liu Ying (3):
drm/bridge: lontium-lt8912b: Validate mode in drm_bridge_funcs::mode_valid()
dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel

Rob Herring (Arm) (1):
drm: bridge: anx7625: Use of_property_read_variable_u8_array()

Stefan Wahren (3):
drm/vc4: hdmi: Handle error case of pm_runtime_resume_and_get drm/vc4: Get the rid of DRM_ERROR()
drm/vc4: v3d: simplify clock retrieval

Steffen Trumtrar (2):
dt-bindings: display: simple: Document support for Innolux G070ACE-LH3 drm/panel: simple: add Innolux G070ACE-LH3 LVDS display support

Tejas Vipin (4):
drm/panel: mantix-mlaf057we51: transition to mipi_dsi wrapped functions drm/panel: mantix-mlaf057we51: write hex in lowercase drm/mipi-dsi: Add mipi_dsi_dcs_set_tear_scanline_multi drm/panel: jdi-fhd-r63452: transition to mipi_dsi wrapped functions

Thomas Zimmermann (11):
drm/ast: Move code for physical outputs into separate files drm/ast: Add struct ast_connector
drm/ast: astdp: Move locking into EDID helper drm/ast: astdp: Use struct drm_edid and helpers drm/ast: astdp: Simplify power management when detecting display drm/ast: astdp: Transparently handle BMC support drm/ast: dp501: Use struct drm_edid and helpers drm/ast: dp501: Transparently handle BMC support drm/ast: sil164: Transparently handle BMC support drm/ast: vga: Transparently handle BMC support drm/ast: Remove BMC output

Zhaoxiong Lv (2):
drm/panel: jd9365da: Move "exit sleep mode" and "set display on" cmds drm/panel: jd9365da: Modify the init code of Melfas

 .../bindings/display/panel/panel-simple.yaml       |    4 +
 .../bindings/display/panel/sitronix,st7701.yaml    |   69 +-
 MAINTAINERS                                        |    1 -
 drivers/gpu/drm/ast/Makefile                       |    4 +-
 drivers/gpu/drm/ast/ast_dp.c                       |  242 ++++-
 drivers/gpu/drm/ast/ast_dp501.c                    |  184 +++-
 drivers/gpu/drm/ast/ast_drv.h                      |   42 +-
 drivers/gpu/drm/ast/ast_mode.c                     |  578 ----------
 drivers/gpu/drm/ast/ast_sil164.c                   |  127 +++
 drivers/gpu/drm/ast/ast_vga.c                      |  127 +++
 drivers/gpu/drm/bridge/analogix/anx7625.c          |   22 +-
 drivers/gpu/drm/bridge/lontium-lt8912b.c           |   35 +-
 drivers/gpu/drm/bridge/nwl-dsi.c                   |    8 +-
 drivers/gpu/drm/bridge/nwl-dsi.h                   |    4 +-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |   66 +-
 drivers/gpu/drm/drm_edid.c                         |    2 +-
 drivers/gpu/drm/drm_mipi_dsi.c                     |   31 +
 drivers/gpu/drm/i915/display/intel_dp.c            |    2 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    2 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c   |    2 +-
 drivers/gpu/drm/imagination/pvr_device.h           |    2 +-
 drivers/gpu/drm/panel/Kconfig                      |    3 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9341.c       |   14 +-
 drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c   |  137 +--
 drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c       |  149 +--
 drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c   |   79 +-
 drivers/gpu/drm/panel/panel-simple.c               |   71 ++
 drivers/gpu/drm/panel/panel-sitronix-st7701.c      | 1122 ++++++++++++--------
 drivers/gpu/drm/udl/udl_edid.c                     |    2 +-
 drivers/gpu/drm/vc4/vc4_bo.c                       |   14 +-
 drivers/gpu/drm/vc4/vc4_dpi.c                      |   14 +-
 drivers/gpu/drm/vc4/vc4_dsi.c                      |   32 +-
 drivers/gpu/drm/vc4/vc4_gem.c                      |   11 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |   44 +-
 drivers/gpu/drm/vc4/vc4_hvs.c                      |    4 +-
 drivers/gpu/drm/vc4/vc4_irq.c                      |    2 +-
 drivers/gpu/drm/vc4/vc4_v3d.c                      |   24 +-
 drivers/gpu/drm/vc4/vc4_validate.c                 |    8 +-
 drivers/gpu/drm/vc4/vc4_vec.c                      |   10 +-
 include/drm/drm_mipi_dsi.h                         |    2 +
 include/linux/string.h                             |   12 +
 41 files changed, 1830 insertions(+), 1478 deletions(-)
 create mode 100644 drivers/gpu/drm/ast/ast_sil164.c
 create mode 100644 drivers/gpu/drm/ast/ast_vga.c
Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch