drm-misc-next-fixes
Hi Dave and Daniel,
Here's the first pull request for v6.4-rc1.
Enjoy!
~Maarten
drm-misc-next-2023-02-23:
drm-misc-next for v6.4-rc1:
First pull request to keep the delta from growing too big.
UAPI Changes:
- Convert rockchip bindings to YAML.
- Constify kobj_type structure in dma-buf.
- FBDEV cmdline parser fixes, and other small fbdev fixes for mode parsing.
Cross-subsystem Changes:
- Actually signal the private stub dma-fence.
Core Changes:
- Fixes to HPD polling.
- Assorted small fixes in simpledrm, bridge, accel, shmem-helper,
and the selftest of format-helper.
- Remove dummy resource when ttm bo is created, and during pipelined gutting. Fix all drivers to accept a NULL ttm_bo->resource.
- Handle pinned BO moving prevention in ttm core.
- Set drm panel-bridge orientation before connector is registered.
- Remove dumb_destroy callback.
- Add documentation to GEM_CLOSE, PRIME_HANDLE_TO_FD, PRIME_FD_TO_HANDLE, GETFB2 ioctl's.
- Add atomic enable_plane callback, use it in ast, mgag200, tidss.
Driver Changes:
- Add Radxa 8/10HD, Samsung AMS495QA01 panels.
- Fix ivpu compiler errors.
- Assorted fixes to drm/panel, malidp, rockchip, ivpu, amdgpu, vgem, nouveau, vc4.
- Assorted cleanups, simplifications and fixes to vmwgfx.
The following changes since commit aebd8f0c6f8280ba35bc989f4a9ea47469d3589a:
Merge v6.2-rc6 into drm-next (2023-01-31 12:23:23 +0100)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2023-02-23
for you to fetch changes up to 95d39a0c64aa529adbff1bdafd391e83ad587602:
drm/radeon: handle NULL bo->resource in move callback (2023-02-23 10:29:20 +0100)
----------------------------------------------------------------
drm-misc-next for v6.4-rc1:
First pull request to keep the delta from growing too big.
UAPI Changes:
- Convert rockchip bindings to YAML.
- Constify kobj_type structure in dma-buf.
- FBDEV cmdline parser fixes, and other small fbdev fixes for mode parsing.
Cross-subsystem Changes:
- Actually signal the private stub dma-fence.
Core Changes:
- Fixes to HPD polling.
- Assorted small fixes in simpledrm, bridge, accel, shmem-helper,
and the selftest of format-helper.
- Remove dummy resource when ttm bo is created, and during pipelined gutting. Fix all drivers to accept a NULL ttm_bo->resource.
- Handle pinned BO moving prevention in ttm core.
- Set drm panel-bridge orientation before connector is registered.
- Remove dumb_destroy callback.
- Add documentation to GEM_CLOSE, PRIME_HANDLE_TO_FD, PRIME_FD_TO_HANDLE, GETFB2 ioctl's.
- Add atomic enable_plane callback, use it in ast, mgag200, tidss.
Driver Changes:
- Add Radxa 8/10HD, Samsung AMS495QA01 panels.
- Fix ivpu compiler errors.
- Assorted fixes to drm/panel, malidp, rockchip, ivpu, amdgpu, vgem, nouveau, vc4.
- Assorted cleanups, simplifications and fixes to vmwgfx.
----------------------------------------------------------------
Andrzej Kacprowski (2):
accel/ivpu: Fix FW API data alignment issues accel/ivpu: Send VPU_JSM_MSG_CONTEXT_DELETE when deleting context
Arnd Bergmann (3):
accel/ivpu: PM: remove broken ivpu_dbg() statements
accel: fix CONFIG_DRM dependencies accel/ivpu: avoid duplicate assignment
Asahi Lina (1):
drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
Brian Norris (1):
drm/rockchip: vop: Quiet always-warning AFBC log
Chris Morgan (3):
drm: of: Add drm_of_get_dsi_bus helper function
dt-bindings: display: panel: Add Samsung AMS495QA01 drm/panel: Add Magnachip D53E6EA8966 Panel Driver
Christian König (4):
drm/ttm: stop allocating dummy resources during BO creation drm/ttm: stop allocating a dummy resource for pipelined gutting drm/ttm: prevent moving of pinned BOs
drm: remove dumb_destroy callback
Dan Carpenter (1):
drm/simpledrm: Fix an NULL vs IS_ERR() bug
Danilo Krummrich (1):
dma-buf: actually set signaling bit for private stub fences
Deepak R Varma (1):
drm/arm/malidp: use sysfs_emit in show function callback
Dmitry Baryshkov (2):
drm/probe_helper: extract two helper functions drm/probe_helper: sort out poll_running vs poll_enabled
Geert Uytterhoeven (1):
drivers: Restore alignment and newline in Makefile
Jagan Teki (4):
dt-bindings: display: panel: jadard,jd9365da-h3: Add Radxa Display 10HD
drm: panel: jd9365da-h3: Add Radxa Display 10HD
dt-bindings: display: panel: jadard,jd9365da-h3: Add Radxa Display 8HD
drm: panel: jd9365da-h3: Add Radxa Display 8HD
Jiri Slaby (SUSE) (1):
drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
Johan Jonker (7):
dt-bindings: display: rockchip: convert rockchip-lvds.txt to YAML
dt-bindings: soc: rockchip: grf: add rockchip,lvds.yaml
dt-bindings: display: dsi-controller: move clock-master property
dt-bindings: display: bridge: snps,dw-mipi-dsi: fix clock properties
dt-bindings: display: rockchip: convert dw_mipi_dsi_rockchip.txt to yaml
dt-bindings: display: bridge: convert analogix_dp.txt to yaml
dt-bindings: display: rockchip: convert analogix_dp-rockchip.txt to yaml
John Keeping (2):
drm/rockchip: avoid duplicate mappings for IOMMU devices drm/bridge: panel: Set orientation on panel_bridge connector
Matthew Auld (6):
drm/i915/ttm: fix sparse warning
drm/i915/ttm: audit remaining bo->resource
drm/ttm: clear the ttm_tt when bo->resource is NULL
drm/gem-vram: handle NULL bo->resource in move callback
drm/qxl: handle NULL bo->resource in move callback
drm/radeon: handle NULL bo->resource in move callbackMaxime Ripard (4):
drm/vc4: hdmi: Replace hardcoded value by define drm/vc4: hdmi: Enable power domain before setting minimum Revert "drm/vc4: hdmi: Fix HSM clock too low on Pi4" Revert "drm/vc4: hdmi: Enforce the minimum rate at runtime_resume"
Maíra Canal (2):
drm/format-helper: Use KUNIT_EXPECT_MEMEQ macro drm/vgem: add missing mutex_destroy
Michael Riesch (5):
drm/rockchip: vop2: initialize possible_crtcs properly drm/rockchip: rgb: embed drm_encoder into rockchip_encoder drm/rockchip: rgb: add video_port parameter to init function drm/rockchip: vop2: use symmetric function pair vop2_{create,destroy}_crtcs drm/rockchip: vop2: add support for the rgb output block
Randy Dunlap (1):
drm/bridge: Kconfig: fix a spelling mistake
Rayyan Ansari (2):
drm/simpledrm: Allow physical width and height configuration via panel node
dt-bindings: display: simple-framebuffer: Document the panel node
Rob Clark (2):
drm/shmem: Cleanup drm_gem_shmem_create_with_handle() drm/rockchip: Drop unbalanced obj unref
Simon Ser (3):
drm: document DRM_IOCTL_GEM_CLOSE
drm: document expectations for GETFB2 handles
drm: document DRM_IOCTL_PRIME_HANDLE_TO_FD and PRIME_FD_TO_HANDLE
Somalapuram Amaranath (1):
drm/amdgpu: Remove TTM resource->start visible VRAM condition v2
Stanislaw Gruszka (2):
accel/ivpu: Set dma max_segment_size
accel/ivpu: Fix old dma_buf api usage
Stephen Boyd (1):
drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable
Thomas Weißschuh (2):
drm/nouveau/led: explicitly include linux/leds.h
dma-buf: make kobj_type structure constant
Thomas Zimmermann (18):
Merge drm/drm-next into drm-misc-next
fbdev: Fix contact info in fb_cmdline.c
fbdev: Transfer video= option strings to caller; clarify ownership
fbdev: Support NULL for name in option-string lookup drivers/ps3: Read video= option with fb_get_option()
fbdev: Read video= option with fb_get_option() in modedb
fbdev: Unexport fb_mode_option
fbdev: Move option-string lookup into helper
fbdev: Handle video= parameter in video/cmdline.c driver/ps3: Include <video/cmdline.h> for mode parsing
drm: Include <video/cmdline.h> for mode parsing
drm: Fix comment on mode parsing
drm/atomic-helper: Add atomic_enable plane-helper callback drm/ast: Implement struct drm_plane_helper_funcs.atomic_enable drm/mgag200: Remove disable handling from atomic_update drm/mgag200: Implement struct drm_plane_helper_funcs.atomic_enable drm/tidss: Remove return values from dispc_plane_{setup, enable}() drm/tidss: Implement struct drm_plane_helper_funcs.atomic_enable
Zack Rusin (11):
drm/vmwgfx: Use the common gem mmap instead of the custom code drm/vmwgfx: Remove the duplicate bo_free function drm/vmwgfx: Rename vmw_buffer_object to vmw_bo drm/vmwgfx: Simplify fb pinning
drm/vmwgfx: Cleanup the vmw bo usage in the cursor paths drm/vmwgfx: Rename dummy to is_iomem
drm/vmwgfx: Abstract placement selection drm/vmwgfx: Stop using raw ttm_buffer_object's drm/vmwgfx: Make the driver work without the dummy resources drm/vmwgfx: Stop accessing buffer objects which failed init drm/vmwgfx: Do not drop the reference to the handle too soon
.../bindings/display/bridge/analogix,dp.yaml | 63 +++ .../bindings/display/bridge/analogix_dp.txt | 51 -- .../bindings/display/bridge/snps,dw-mipi-dsi.yaml | 16 +- .../bindings/display/dsi-controller.yaml | 18 +- .../bindings/display/exynos/exynos_dp.txt | 2 +- .../bindings/display/panel/jadard,jd9365da-h3.yaml | 2 + .../bindings/display/panel/samsung,ams495qa01.yaml | 57 +++ .../display/rockchip/analogix_dp-rockchip.txt | 98 ---- .../display/rockchip/dw_mipi_dsi_rockchip.txt | 94 ---- .../display/rockchip/rockchip,analogix-dp.yaml | 103 ++++ .../display/rockchip/rockchip,dw-mipi-dsi.yaml | 166 +++++++ .../bindings/display/rockchip/rockchip,lvds.yaml | 170 +++++++ .../bindings/display/rockchip/rockchip-lvds.txt | 92 ---- .../bindings/display/simple-framebuffer.yaml | 9 + .../devicetree/bindings/soc/rockchip/grf.yaml | 10 +- drivers/accel/Kconfig | 5 +- drivers/accel/ivpu/ivpu_drv.c | 3 +- drivers/accel/ivpu/ivpu_fw.c | 37 +- drivers/accel/ivpu/ivpu_gem.c | 8 +- drivers/accel/ivpu/ivpu_job.c | 5 +- drivers/accel/ivpu/ivpu_jsm_msg.c | 11 + drivers/accel/ivpu/ivpu_jsm_msg.h | 2 +- drivers/accel/ivpu/ivpu_pm.c | 10 - drivers/accel/ivpu/vpu_jsm_api.h | 67 +-- drivers/dma-buf/dma-buf-sysfs-stats.c | 2 +- drivers/dma-buf/dma-fence.c | 2 +- drivers/gpu/drm/Kconfig | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 - drivers/gpu/drm/arm/malidp_drv.c | 2 +- drivers/gpu/drm/ast/ast_mode.c | 28 +- drivers/gpu/drm/bridge/Kconfig | 2 +- drivers/gpu/drm/bridge/panel.c | 2 + drivers/gpu/drm/drm_atomic_helper.c | 20 +- drivers/gpu/drm/drm_connector.c | 9 +- drivers/gpu/drm/drm_dumb_buffers.c | 5 +- drivers/gpu/drm/drm_gem.c | 7 - drivers/gpu/drm/drm_gem_shmem_helper.c | 67 +-- drivers/gpu/drm/drm_gem_vram_helper.c | 11 + drivers/gpu/drm/drm_internal.h | 3 - drivers/gpu/drm/drm_modes.c | 3 +- drivers/gpu/drm/drm_of.c | 51 ++ drivers/gpu/drm/drm_probe_helper.c | 108 +++-- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 15 +- drivers/gpu/drm/i915/gem/i915_gem_ttm.h | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 4 + drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c | 7 +- drivers/gpu/drm/mgag200/mgag200_drv.h | 3 + drivers/gpu/drm/mgag200/mgag200_mode.c | 22 +- drivers/gpu/drm/nouveau/dispnv50/wndw.h | 5 +- drivers/gpu/drm/nouveau/nouveau_bo.c | 3 - drivers/gpu/drm/nouveau/nouveau_led.h | 2 +- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 16 +- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 209 ++++++++- .../gpu/drm/panel/panel-magnachip-d53e6ea8966.c | 522 +++++++++++++++++++++ drivers/gpu/drm/qxl/qxl_ttm.c | 11 + drivers/gpu/drm/radeon/radeon_ttm.c | 7 +- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 16 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 7 +- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 80 +++- drivers/gpu/drm/rockchip/rockchip_rgb.c | 19 +- drivers/gpu/drm/rockchip/rockchip_rgb.h | 6 +- drivers/gpu/drm/tests/drm_format_helper_test.c | 10 +- drivers/gpu/drm/tidss/tidss_dispc.c | 12 +- drivers/gpu/drm/tidss/tidss_dispc.h | 8 +- drivers/gpu/drm/tidss/tidss_plane.c | 20 +- drivers/gpu/drm/tiny/simpledrm.c | 35 +- drivers/gpu/drm/ttm/ttm_bo.c | 30 +- drivers/gpu/drm/ttm/ttm_bo_util.c | 19 +- drivers/gpu/drm/ttm/ttm_resource.c | 1 - drivers/gpu/drm/vc4/vc4_hdmi.c | 46 +- drivers/gpu/drm/vc4/vc4_hdmi.h | 1 - drivers/gpu/drm/vgem/vgem_fence.c | 1 + drivers/gpu/drm/vmwgfx/Makefile | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 413 ++++++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_bo.h | 203 ++++++++ drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c | 14 +- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 53 +-- drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 36 +- drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 65 +-- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 26 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 245 ++-------- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 103 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_gem.c | 95 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 234 ++++----- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 43 +- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 57 ++- drivers/gpu/drm/vmwgfx/vmwgfx_mob.c | 45 +- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 21 +- drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 68 ++- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 246 +++++----- drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | 10 +- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 53 ++- drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 66 +-- drivers/gpu/drm/vmwgfx/vmwgfx_so.c | 6 +- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 323 ++----------- drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c | 20 +- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 115 ++--- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 134 ++---- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 110 ----- drivers/gpu/drm/vmwgfx/vmwgfx_va.c | 6 +- drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 150 +++--- drivers/gpu/drm/vmwgfx/vmwgfx_validation.h | 10 +- drivers/ps3/ps3av.c | 9 +- drivers/video/Kconfig | 3 + drivers/video/Makefile | 1 + drivers/video/cmdline.c | 133 ++++++ drivers/video/fbdev/Kconfig | 5 +- drivers/video/fbdev/core/Makefile | 3 +- drivers/video/fbdev/core/fb_cmdline.c | 94 +--- drivers/video/fbdev/core/modedb.c | 8 +- include/drm/drm_atomic_helper.h | 26 + include/drm/drm_drv.h | 19 - include/drm/drm_modeset_helper_vtables.h | 29 +- include/drm/drm_of.h | 12 + include/linux/fb.h | 1 - include/uapi/drm/drm.h | 57 ++- include/video/cmdline.h | 20 + 121 files changed, 3462 insertions(+), 2519 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml delete mode 100644 Documentation/devicetree/bindings/display/bridge/analogix_dp.txt create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml delete mode 100644 Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt delete mode 100644 Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip,lvds.yaml delete mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt create mode 100644 drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h delete mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c create mode 100644 drivers/video/cmdline.c create mode 100644 include/video/cmdline.h
Hi Maarten,
Quoted 4 lines · Maarten Lankhorst
Hi Dave and Daniel,
Here's the first pull request for v6.4-rc1.
Quoted 8 lines
Enjoy!
~Maarten
drm-misc-next-2023-02-23:
drm-misc-next for v6.4-rc1:First pull request to keep the delta from growing too big.
This isn't drm-misc-next-fixes but drm-misc-next?
Maxime