From tursulin at igalia.com Wed Jul 2 07:44:16 2025 From: tursulin at igalia.com (Tvrtko Ursulin) Date: Wed, 2 Jul 2025 08:44:16 +0100 Subject: [PULL] drm-intel-gt-next Message-ID: Hi Dave, Sima, Here comes the first pull request for 6.17. Headline feature is that Ville was able to move DG1 out of force probe. Other than that mostly fixes in the GuC backend. One cross-merge to fix the build. Regards, Tvrtko drm-intel-gt-next-2025-07-02: Driver Changes: Fixes/improvements/new stuff: - Avoid GuC scheduling stalls [guc] (Julia Filipchuk) - Remove force_probe requirement for DG1 (Ville Syrj?l?) - Handle errors correctly to avoid losing GuC-2-Host messages [guc] (Jesus Narvaez) - Avoid double wakeref put if GuC context deregister failed [guc] (Jesus Narvaez) - Avoid timeline memory leak with signals and legacy platforms [ringbuf] (Janusz Krzysztofik) - Fix MEI (discrete) interrupt handler on RT kernels [gsc] (Junxiao Chang) Miscellaneous: - Allow larger memory allocation [selftest] (Mikolaj Wasiak) - Use provided dma_fence_is_chain (Tvrtko Ursulin) - Fix build error with GCOV and AutoFDO enabled [pmu] (Tzung-Bi Shih) - Fix build error some more (Arnd Bergmann) - Reduce stack usage in igt_vma_pin1() (Arnd Bergmann) - Move out engine related macros from i915_drv.h (Krzysztof Karas) - Move GEM_QUIRK_PIN_SWIZZLED_PAGES to i915_gem.h (Krzysztof Karas) The following changes since commit f8bb3ed3197966fb60bedcbdc126d2bd5bc0a77f: drm/nouveau/tegra: Fix error pointer vs NULL return in nvkm_device_tegra_resource_addr() (2025-05-24 14:36:07 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-gt-next-2025-07-02 for you to fetch changes up to dccf655f69002d496a527ba441b4f008aa5bebbf: drm/i915/gsc: mei interrupt top half should be in irq disabled context (2025-06-30 14:21:06 -0400) ---------------------------------------------------------------- Driver Changes: Fixes/improvements/new stuff: - Avoid GuC scheduling stalls [guc] (Julia Filipchuk) - Remove force_probe requirement for DG1 (Ville Syrj?l?) - Handle errors correctly to avoid losing GuC-2-Host messages [guc] (Jesus Narvaez) - Avoid double wakeref put if GuC context deregister failed [guc] (Jesus Narvaez) - Avoid timeline memory leak with signals and legacy platforms [ringbuf] (Janusz Krzysztofik) - Fix MEI (discrete) interrupt handler on RT kernels [gsc] (Junxiao Chang) Miscellaneous: - Allow larger memory allocation [selftest] (Mikolaj Wasiak) - Use provided dma_fence_is_chain (Tvrtko Ursulin) - Fix build error with GCOV and AutoFDO enabled [pmu] (Tzung-Bi Shih) - Fix build error some more (Arnd Bergmann) - Reduce stack usage in igt_vma_pin1() (Arnd Bergmann) - Move out engine related macros from i915_drv.h (Krzysztof Karas) - Move GEM_QUIRK_PIN_SWIZZLED_PAGES to i915_gem.h (Krzysztof Karas) ---------------------------------------------------------------- Arnd Bergmann (2): drm/i915: fix build error some more drm/i915: reduce stack usage in igt_vma_pin1() Janusz Krzysztofik (1): drm/i915/gt: Fix timeline left held on VMA alloc error Jesus Narvaez (2): drm/i915/guc: Check if expecting reply before decrementing outstanding_submission_g2h drm/i915/guc: Handle race condition where wakeref count drops below 0 Joonas Lahtinen (2): Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1" Merge drm/drm-next into drm-intel-gt-next Julia Filipchuk (1): drm/i915/guc: Enable DUAL_QUEUE_WA for newer platforms Junxiao Chang (1): drm/i915/gsc: mei interrupt top half should be in irq disabled context Krzysztof Karas (2): drm/i915: Move out engine related macros from i915_drv.h drm/i915: move GEM_QUIRK_PIN_SWIZZLED_PAGES to i915_gem.h Mikolaj Wasiak (1): drm/i915/selftest: allow larger memory allocation Tvrtko Ursulin (1): drm/i915: Use provided dma_fence_is_chain Tzung-Bi Shih (1): drm/i915/pmu: Fix build error with GCOV and AutoFDO enabled Ville Syrj?l? (2): drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1 drm/i915/pci: Remove force_probe requirement for DG1 drivers/gpu/drm/i915/gem/i915_gem_wait.c | 7 +---- drivers/gpu/drm/i915/gt/intel_engine.h | 31 ++++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_gsc.c | 2 +- drivers/gpu/drm/i915/gt/intel_ring_submission.c | 3 +- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 7 ++++- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 19 ++++++++++--- drivers/gpu/drm/i915/i915_drv.h | 33 ---------------------- drivers/gpu/drm/i915/i915_gem.h | 2 ++ drivers/gpu/drm/i915/i915_pci.c | 1 - drivers/gpu/drm/i915/i915_pmu.c | 6 ++-- drivers/gpu/drm/i915/i915_vma.c | 20 +++++++++++++ drivers/gpu/drm/i915/i915_vma.h | 22 ++------------- .../gpu/drm/i915/selftests/intel_memory_region.c | 14 ++------- 13 files changed, 86 insertions(+), 81 deletions(-) From joonas.lahtinen at linux.intel.com Thu Jul 3 05:29:32 2025 From: joonas.lahtinen at linux.intel.com (Joonas Lahtinen) Date: Thu, 3 Jul 2025 08:29:32 +0300 Subject: [PULL] drm-intel-fixes Message-ID: Hi Dave & Sima, Here's drm-intel-fixes towards 6.16-rc5. Fix for mei interrupt handling on RT builds, two NULL deref fixes and one memory leak fix. Regards, Joonas *** drm-intel-fixes-2025-07-03: - Make mei interrupt top half irq disabled to fix RT builds - Fix timeline left held on VMA alloc error - Fix NULL pointer deref in vlv_dphy_param_init() - Fix selftest mock_request() to avoid NULL deref The following changes since commit d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af: Linux 6.16-rc4 (2025-06-29 13:09:04 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-fixes-2025-07-03 for you to fetch changes up to 8cadce97bf264ed478669c6f32d5603b34608335: drm/i915/gsc: mei interrupt top half should be in irq disabled context (2025-07-01 08:10:46 +0300) ---------------------------------------------------------------- - Make mei interrupt top half irq disabled to fix RT builds - Fix timeline left held on VMA alloc error - Fix NULL pointer deref in vlv_dphy_param_init() - Fix selftest mock_request() to avoid NULL deref ---------------------------------------------------------------- Dan Carpenter (1): drm/i915/selftests: Change mock_request() to return error pointers Hans de Goede (1): drm/i915/dsi: Fix NULL pointer deref in vlv_dphy_param_init() Janusz Krzysztofik (1): drm/i915/gt: Fix timeline left held on VMA alloc error Junxiao Chang (1): drm/i915/gsc: mei interrupt top half should be in irq disabled context drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/gt/intel_gsc.c | 2 +- drivers/gpu/drm/i915/gt/intel_ring_submission.c | 3 ++- drivers/gpu/drm/i915/selftests/i915_request.c | 20 ++++++++++---------- drivers/gpu/drm/i915/selftests/mock_request.c | 2 +- 5 files changed, 15 insertions(+), 14 deletions(-) From mripard at redhat.com Thu Jul 3 08:12:53 2025 From: mripard at redhat.com (Maxime Ripard) Date: Thu, 3 Jul 2025 10:12:53 +0200 Subject: [PULL] drm-misc-next Message-ID: <20250703-chirpy-lilac-dalmatian-2c5838@houat> Hi, Here's this week drm-misc-next PR Maxime drm-misc-next-2025-07-03: drm-misc-next for 6.17: UAPI Changes: Cross-subsystem Changes: Core Changes: - bridge: More reference counting - dp: Implement backlight control helpers - fourcc: Add half-float and 32b float formats, RGB161616, BGR161616 - mipi-dsi: Drop MIPI_DSI_MODE_VSYNC_FLUSH flag - ttm: Improve eviction Driver Changes: - i915: Use backlight control helpers for eDP - tidss: Add AM65x OLDI bridge support - panels: - panel-edp: Add CMN N116BCJ-EAK support - raydium-rm67200: misc cleanups, optional reset - new panel: DJN HX83112B The following changes since commit d6b93bfa5d1eba452e494d3a05d6bef65bc569b7: drm/nouveau/disp: Use dev->dev to get the device (2025-06-25 20:07:03 +0200) are available in the Git repository at: https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2025-07-03 for you to fetch changes up to b4cd18f485687a2061ee7a0ce6833851fc4438da: drm/dp: Add documentation for luminance_set (2025-07-02 16:26:07 +0530) ---------------------------------------------------------------- drm-misc-next for 6.17: UAPI Changes: Cross-subsystem Changes: Core Changes: - bridge: More reference counting - dp: Implement backlight control helpers - fourcc: Add half-float and 32b float formats, RGB161616, BGR161616 - mipi-dsi: Drop MIPI_DSI_MODE_VSYNC_FLUSH flag - ttm: Improve eviction Driver Changes: - i915: Use backlight control helpers for eDP - tidss: Add AM65x OLDI bridge support - panels: - panel-edp: Add CMN N116BCJ-EAK support - raydium-rm67200: misc cleanups, optional reset - new panel: DJN HX83112B ---------------------------------------------------------------- Andy Shevchenko (1): firmware: sysfb: Don't use "proxy" headers Andy Yan (4): dt-bindings: display: panel: Make reset-gpio as optional for Raydium RM67200 drivers/panel: raydium-rm67200: Make reset-gpio optional drm/panel: raydium-rm67200: Move initialization from enable() to prepare stage drm/panel: raydium-rm67200: Add missing drm_display_mode flags Aradhya Bhatia (4): dt-bindings: display: ti,am65x-dss: Re-indent the example dt-bindings: display: ti: Add schema for AM625 OLDI Transmitter drm/tidss: Mark AM65x OLDI code separately drm/tidss: Add OLDI bridge support Bartosz Golaszewski (1): drm/bridge: ti-sn65dsi86: remove unnecessary GPIO line direction check Christian K?nig (1): drm/vmwgfx: drop printing the TTM refcount for debugging Cristian Ciocaltea (1): dt-bindings: display: vop2: Add optional PLL clock property for rk3576 Jacopo Mondi (1): drm/fourcc: Add RGB161616 and BGR161616 formats Javier Martinez Canillas (1): MAINTAINERS: Add missing sysfb files to firmware framebuffers entry Langyan Ye (1): drm/panel-edp: Add CMN N116BCJ-EAK Luca Ceresoli (3): drm/bridge: get/put the bridge reference in drm_bridge_add/remove() drm/bridge: get/put the bridge reference in drm_bridge_attach/detach() drm/bridge: add warning for bridges not using devm_drm_bridge_alloc() Luca Weiss (3): dt-bindings: vendor-prefixes: document Shenzhen DJN Optronics Technology dt-bindings: display: panel: Add Himax HX83112B drm/panel: Add driver for DJN HX83112B LCD panel Philipp Stanner (1): drm/sched/tests: Make timedout_job callback a better role model Philipp Zabel (6): drm/bridge: samsung-dsim: use while loop in samsung_dsim_transfer_start drm/bridge: samsung-dsim: Use HZ_PER_MHZ macro from units.h drm/bridge: samsung-dsim: Always flush display FIFO on vsync pulse drm/panel: samsung-s6d7aa0: Drop MIPI_DSI_MODE_VSYNC_FLUSH flag drm/panel: samsung-s6e8aa0: Drop MIPI_DSI_MODE_VSYNC_FLUSH flag drm/mipi-dsi: Drop MIPI_DSI_MODE_VSYNC_FLUSH flag Rob Clark (2): drm/fourcc: Add missing half-float formats drm/fourcc: Add 32b float formats Steven Price (1): drm/panthor: Wait for _READY register when powering on Suraj Kandpal (14): drm/dp: Introduce new member in drm_backlight_info drm/dp: Add argument in drm_edp_backlight_init drm/dp: Add argument for max luminance in drm_edp_backlight_init drm/dp: Move from u16 to u32 for max in drm_edp_backlight_info drm/dp: Change current_level argument type to u32 drm/dp: Modify drm_edp_probe_state drm/dp: Change argument type for drm_edp_backlight_set_level drm/dp: Modify drm_edp_backlight_set_level drm/dp: Change argument type of drm_edp_backlight_enable drm/dp: Enable backlight control using luminance drm/i915/backlight: Use drm helper to initialize edp backlight drm/i915/backlight: Use drm helper to set edp backlight drm/i915/backlight: Use drm_edp_backlight_enable drm/dp: Add documentation for luminance_set Thomas Hellstr?m (3): drm/ttm: Use a struct for the common part of struct ttm_lru_walk and struct ttm_bo_lru_cursor drm/ttm, drm/xe: Modify the struct ttm_bo_lru_walk_cursor initialization drm/ttm, drm_xe, Implement ttm_lru_walk_for_evict() using the guarded LRU iteration Thomas Zimmermann (1): drm/format-helper: Split off byte swapping from drm_fb_xrgb8888_to_rgb565() .../bindings/display/panel/himax,hx83112b.yaml | 73 +++ .../bindings/display/panel/raydium,rm67200.yaml | 1 - .../bindings/display/rockchip/rockchip-vop2.yaml | 56 +- .../bindings/display/ti/ti,am625-oldi.yaml | 79 +++ .../bindings/display/ti/ti,am65x-dss.yaml | 199 ++++++- .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 3 + drivers/gpu/drm/bridge/samsung-dsim.c | 79 ++- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 5 - drivers/gpu/drm/display/drm_dp_helper.c | 92 +++- drivers/gpu/drm/drm_bridge.c | 24 +- drivers/gpu/drm/drm_format_helper.c | 68 ++- drivers/gpu/drm/drm_format_internal.h | 6 + drivers/gpu/drm/drm_fourcc.c | 8 + drivers/gpu/drm/drm_mipi_dbi.c | 8 +- drivers/gpu/drm/gud/gud_pipe.c | 9 +- .../gpu/drm/i915/display/intel_dp_aux_backlight.c | 142 ++--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +- drivers/gpu/drm/nouveau/nouveau_backlight.c | 7 +- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-edp.c | 1 + drivers/gpu/drm/panel/panel-himax-hx83112b.c | 430 +++++++++++++++ drivers/gpu/drm/panel/panel-raydium-rm67200.c | 39 +- drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 2 +- drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 2 +- drivers/gpu/drm/panthor/panthor_gpu.c | 5 +- drivers/gpu/drm/scheduler/tests/mock_scheduler.c | 26 +- drivers/gpu/drm/tests/drm_format_helper_test.c | 8 +- drivers/gpu/drm/tidss/Makefile | 3 +- drivers/gpu/drm/tidss/tidss_dispc.c | 92 ++-- drivers/gpu/drm/tidss/tidss_dispc.h | 7 +- drivers/gpu/drm/tidss/tidss_dispc_regs.h | 29 +- drivers/gpu/drm/tidss/tidss_drv.c | 9 + drivers/gpu/drm/tidss/tidss_drv.h | 5 + drivers/gpu/drm/tidss/tidss_kms.c | 2 +- drivers/gpu/drm/tidss/tidss_oldi.c | 598 +++++++++++++++++++++ drivers/gpu/drm/tidss/tidss_oldi.h | 43 ++ drivers/gpu/drm/ttm/ttm_bo.c | 24 +- drivers/gpu/drm/ttm/ttm_bo_util.c | 202 +++---- drivers/gpu/drm/vmwgfx/vmwgfx_gem.c | 5 +- drivers/gpu/drm/xe/xe_shrinker.c | 8 +- include/drm/display/drm_dp_helper.h | 11 +- include/drm/drm_format_helper.h | 6 +- include/drm/drm_mipi_dsi.h | 2 - include/drm/ttm/ttm_bo.h | 44 +- include/linux/sysfb.h | 6 +- include/uapi/drm/drm_fourcc.h | 20 +- 48 files changed, 2030 insertions(+), 473 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx83112b.yaml create mode 100644 Documentation/devicetree/bindings/display/ti/ti,am625-oldi.yaml create mode 100644 drivers/gpu/drm/panel/panel-himax-hx83112b.c create mode 100644 drivers/gpu/drm/tidss/tidss_oldi.c create mode 100644 drivers/gpu/drm/tidss/tidss_oldi.h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: not available URL: From maarten.lankhorst at linux.intel.com Thu Jul 3 15:26:19 2025 From: maarten.lankhorst at linux.intel.com (Maarten Lankhorst) Date: Thu, 3 Jul 2025 17:26:19 +0200 Subject: [PULL] drm-misc-fixes Message-ID: Hi Dave, Simona, Fixes for rc5. :-) Kind regards, ~Maarten drm-misc-fixes-2025-07-03: drm-misc-fixes for v6.16-rc5: - Replace simple panel lookup hack with proper fix. - nullpointer deref in vesadrm fix. - fix dma_resv_wait_timeout. - fix error handling in ttm_buffer_object_transfer. - bridge fixes. - Fix vmwgfx accidentally allocating encrypted memory. - Fix race in spsc_queue_push() - Add refcount on backing GEM objects during fb creation. - Fix v3d irq's being enabled during gpu reset. The following changes since commit 55e8ff842051b1150461d7595d8f1d033c69d66b: drm/bridge: ti-sn65dsi86: Add HPD for DisplayPort connector type (2025-06-25 07:49:01 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2025-07-03 for you to fetch changes up to 226862f50a7a88e4e4de9abbf36c64d19acd6fd0: drm/v3d: Disable interrupts before resetting the GPU (2025-07-02 19:08:11 -0300) ---------------------------------------------------------------- drm-misc-fixes for v6.16-rc5: - Replace simple panel lookup hack with proper fix. - nullpointer deref in vesadrm fix. - fix dma_resv_wait_timeout. - fix error handling in ttm_buffer_object_transfer. - bridge fixes. - Fix vmwgfx accidentally allocating encrypted memory. - Fix race in spsc_queue_push() - Add refcount on backing GEM objects during fb creation. - Fix v3d irq's being enabled during gpu reset. ---------------------------------------------------------------- Christian K?nig (2): dma-buf: fix timeout handling in dma_resv_wait_timeout v2 drm/ttm: fix error handling in ttm_buffer_object_transfer Dmitry Baryshkov (2): drm/bridge: panel: move prepare_prev_first handling to drm_panel_bridge_add_typed drm/bridge: aux-hpd-bridge: fix assignment of the of_node Marko Kiiskila (1): drm/vmwgfx: Fix guests running with TDX/SEV Matthew Brost (1): drm/sched: Increment job count before swapping tail spsc queue Maxime Ripard (5): drm/mipi-dsi: Add dev_is_mipi_dsi function drm/panel: panel-simple: make panel_dpi_probe return a panel_desc drm/panel: panel-simple: Make panel_simple_probe return its panel drm/panel: panel-simple: Add function to look panel data up drm/panel: panel-simple: get rid of panel_dpi hack Ma?ra Canal (1): drm/v3d: Disable interrupts before resetting the GPU Thomas Zimmermann (2): drm/vesadrm: Avoid NULL-ptr deref in vesadrm_pmi_cmap_write() drm/gem: Acquire references on GEM handles for framebuffers drivers/dma-buf/dma-resv.c | 12 ++- drivers/gpu/drm/bridge/aux-hpd-bridge.c | 3 +- drivers/gpu/drm/bridge/panel.c | 5 +- drivers/gpu/drm/drm_gem.c | 44 ++++++++- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 16 ++-- drivers/gpu/drm/drm_internal.h | 2 + drivers/gpu/drm/drm_mipi_dsi.c | 3 +- drivers/gpu/drm/panel/panel-simple.c | 132 +++++++++++++++++---------- drivers/gpu/drm/sysfb/vesadrm.c | 13 ++- drivers/gpu/drm/ttm/ttm_bo_util.c | 13 +-- drivers/gpu/drm/v3d/v3d_drv.h | 8 ++ drivers/gpu/drm/v3d/v3d_gem.c | 2 + drivers/gpu/drm/v3d/v3d_irq.c | 37 ++++++-- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +- include/drm/drm_mipi_dsi.h | 3 + include/drm/spsc_queue.h | 4 +- 16 files changed, 205 insertions(+), 94 deletions(-) From lucas.demarchi at intel.com Thu Jul 3 23:24:51 2025 From: lucas.demarchi at intel.com (Lucas De Marchi) Date: Thu, 3 Jul 2025 18:24:51 -0500 Subject: [PULL] drm-xe-fixes Message-ID: Hi Dave and Sima, Here is drm-xe-fixes for rc5. A little on the big side, but number of commits is more due to splitting the logical changes to fix some HW workarounds. drm-xe-fixes-2025-07-03: Driver Changes: - Fix chunking the PTE updates and overflowing the maximum number of dwords with with MI_STORE_DATA_IMM (Jia Yao) - Move WA BB to the LRC BO to mitigate hangs on context switch (Matthew Brost) - Fix frequency/flush WAs for BMG (Vinay / Lucas) - Fix kconfig prompt title and description (Lucas) - Do not require kunit (Harry Austen / Lucas) - Extend 14018094691 WA to BMG (Daniele) - Fix wedging the device on signal (Matthew Brost) thanks, Lucas De Marchi The following changes since commit d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af: Linux 6.16-rc4 (2025-06-29 13:09:04 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2025-07-03 for you to fetch changes up to 5459e16b215c18529782e7746992653f00de0779: drm/xe: Do not wedge device on killed exec queues (2025-07-03 06:42:22 -0700) ---------------------------------------------------------------- Driver Changes: - Fix chunking the PTE updates and overflowing the maximum number of dwords with with MI_STORE_DATA_IMM (Jia Yao) - Move WA BB to the LRC BO to mitigate hangs on context switch (Matthew Brost) - Fix frequency/flush WAs for BMG (Vinay / Lucas) - Fix kconfig prompt title and description (Lucas) - Do not require kunit (Harry Austen / Lucas) - Extend 14018094691 WA to BMG (Daniele) - Fix wedging the device on signal (Matthew Brost) ---------------------------------------------------------------- Daniele Ceraolo Spurio (1): drm/xe: Extend WA 14018094691 to BMG Harry Austen (1): drm/xe: Allow dropping kunit dependency as built-in Jia Yao (1): drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM Lucas De Marchi (4): drm/xe/guc_pc: Add _locked variant for min/max freq drm/xe/xe_guc_pc: Lock once to update stashed frequencies drm/xe: Split xe_device_td_flush() drm/xe: Fix kconfig prompt Matthew Brost (2): drm/xe: Make WA BB part of LRC BO drm/xe: Do not wedge device on killed exec queues Vinay Belgaumkar (2): drm/xe/bmg: Update Wa_14022085890 drm/xe/bmg: Update Wa_22019338487 drivers/gpu/drm/xe/Kconfig | 8 +- drivers/gpu/drm/xe/xe_device.c | 72 +++++---- drivers/gpu/drm/xe/xe_drv.h | 2 +- drivers/gpu/drm/xe/xe_guc_pc.c | 288 ++++++++++++++++++++++++++--------- drivers/gpu/drm/xe/xe_guc_pc.h | 2 + drivers/gpu/drm/xe/xe_guc_pc_types.h | 2 + drivers/gpu/drm/xe/xe_guc_submit.c | 10 +- drivers/gpu/drm/xe/xe_lrc.c | 37 ++--- drivers/gpu/drm/xe/xe_lrc_types.h | 3 - drivers/gpu/drm/xe/xe_migrate.c | 18 ++- drivers/gpu/drm/xe/xe_wa_oob.rules | 7 +- 11 files changed, 312 insertions(+), 137 deletions(-) From jani.nikula at intel.com Fri Jul 4 10:29:23 2025 From: jani.nikula at intel.com (Jani Nikula) Date: Fri, 04 Jul 2025 13:29:23 +0300 Subject: [PULL] drm-intel-next Message-ID: <6d728bf6ef23681b00dfbc7da9aeae41042dee02@intel.com> Hi Dave & Sima - Here's the second i915 feature pull request for v6.17, mostly just display changes. Rodrigo will handle the subsequent (likely just fixes) pull requests for v6.17, if any. BR, Jani. drm-intel-next-2025-07-04: drm/i915 feature pull #2 for v6.17: Features and functionality: - Add drm_panic support for both i915 and xe drivers (Jocelyn Falempe) - Add initial flip queue implementation, disabled by default, for LNL and PTL (Ville) - Add support for Wildcat Lake (WCL) display, version 30.02 (Matt Roper, Matt Atwood, Dnyaneshwar) - Extend drm_panel and follower support to DDI eDP (Arun) Refactoring and cleanups: - Make all global state objects opaque (Jani) - Move display works to display specific unordered workqueue (Luca) - Add and use struct drm_device based pcode interface (Jani, Lucas) - Use clamp() instead of max()+min() combo (Ankit) - Simplify wait for power well disable (Jani) - Various stylistics cleanups and renames (Jani) Fixes: - Deal with loss of pipe DMC state (Ville) - Fix PTL HDCP2 stream status check (Suraj) - Add workaround for ADL-P DKL PHY DP and HDMI (Nemesa) - Fix skl_print_wm_changes() stack usage with KMSAN (Arnd Bergmann) - Fix PCON capability reads on non-branch devices (Chaitanya) - Fix which platforms have ultra joiner (Ankit) DRM core changes: - Add ttm_bo_kmap_try_from_panic() for xe drm_panic support (Jocelyn Falempe) - Add private pointer to struct drm_scanout buffer for xe/i915 drm_panic support (Jocelyn Falempe) Merges: - Backmerge drm-next for drm_panel and xe changes (Jani) BR, Jani. The following changes since commit 36c52fb703e90388285963fc8f03cf60f76cbe4c: Merge tag 'drm-intel-next-2025-06-18' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2025-06-23 10:49:27 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-next-2025-07-04 for you to fetch changes up to d6a59ee852758bc69c4cc821954db277a2bd5b93: drm/ttm: Remove unneeded blank line in comment (2025-07-02 13:31:20 -0700) ---------------------------------------------------------------- drm/i915 feature pull #2 for v6.17: Features and functionality: - Add drm_panic support for both i915 and xe drivers (Jocelyn Falempe) - Add initial flip queue implementation, disabled by default, for LNL and PTL (Ville) - Add support for Wildcat Lake (WCL) display, version 30.02 (Matt Roper, Matt Atwood, Dnyaneshwar) - Extend drm_panel and follower support to DDI eDP (Arun) Refactoring and cleanups: - Make all global state objects opaque (Jani) - Move display works to display specific unordered workqueue (Luca) - Add and use struct drm_device based pcode interface (Jani, Lucas) - Use clamp() instead of max()+min() combo (Ankit) - Simplify wait for power well disable (Jani) - Various stylistics cleanups and renames (Jani) Fixes: - Deal with loss of pipe DMC state (Ville) - Fix PTL HDCP2 stream status check (Suraj) - Add workaround for ADL-P DKL PHY DP and HDMI (Nemesa) - Fix skl_print_wm_changes() stack usage with KMSAN (Arnd Bergmann) - Fix PCON capability reads on non-branch devices (Chaitanya) - Fix which platforms have ultra joiner (Ankit) DRM core changes: - Add ttm_bo_kmap_try_from_panic() for xe drm_panic support (Jocelyn Falempe) - Add private pointer to struct drm_scanout buffer for xe/i915 drm_panic support (Jocelyn Falempe) Merges: - Backmerge drm-next for drm_panel and xe changes (Jani) ---------------------------------------------------------------- Ankit Nautiyal (3): drm/i915/snps_hdmi_pll: Fix 64-bit divisor truncation by using div64_u64 drm/i915/snps_hdmi_pll: Use clamp() instead of max(min()) drm/i915/display: Fix macro HAS_ULTRAJOINER Arnd Bergmann (1): drm/i915/wm: reduce stack usage in skl_print_wm_changes() Arun R Murthy (1): drm/i915/panel: register drm_panel and call prepare/unprepare for eDP Chaitanya Kumar Borah (1): drm/xe/display: read PCON capability only when present Dan Carpenter (1): drm/i915/selftests: Change mock_request() to return error pointers Dnyaneshwar Bhadane (3): drm/i915/xe3lpd: Extend DMC load path for display drm/i915/wcl: C10 phy connected to port A and B drm/i915/xe3lpd: Extend WA 16023981245 for display 30.02 Hans de Goede (1): drm/i915/dsi: Fix NULL pointer deref in vlv_dphy_param_init() Jani Nikula (37): drm/i915/vrr: fix register file style drm/i915/plane: rename intel_atomic_plane.[ch] to intel_plane.[ch] drm/i915/plane: drop atomic from intel_atomic_plane_check_clipping() drm/i915/plane: make intel_plane_atomic_check() static and rename drm/i915/plane: rename intel_atomic_check_planes() to intel_plane_atomic_check() drm/i915/plane: rename intel_atomic_add_affected_planes() to intel_plane_add_affected() Merge drm/drm-next into drm-intel-next drm/i915/panel: make panel funcs static drm/i915/pcode: drop fast wait from snb_pcode_write_timeout() drm/i915/pcode: add struct drm_device based interface drm/xe/pcode: add struct drm_device based interface drm/i915/display: switch to struct drm_device based pcode interface drm/i915/dram: switch to struct drm_device based pcode interface drm/xe/compat: remove old pcode compat interface drm/i915: remove unused DISPLAY_PLANE_FLIP_PENDING() macro drm/i915/wm: abstract intel_dbuf_pmdemand_needs_update() drm/i915/wm: add more accessors to dbuf state drm/i915/wm: make struct intel_dbuf_state opaque type drm/i915/bw: abstract intel_bw_pmdemand_needs_update() drm/i915/bw: relocate intel_can_enable_sagv() and rename to intel_bw_can_enable_sagv() drm/i915: move icl_sagv_{pre, post}_plane_update() to intel_bw.c drm/i915/bw: abstract intel_bw_qgv_point_peakbw() drm/i915/bw: make struct intel_bw_state opaque drm/i915/cdclk: abstract intel_cdclk_logical() drm/i915/cdclk: abstract intel_cdclk_min_cdclk() drm/i915/cdclk: abstract intel_cdclk_bw_min_cdclk() drm/i915/cdclk: abstract intel_cdclk_pmdemand_needs_update() drm/i915/cdclk: abstract intel_cdclk_force_min_cdclk() drm/i915/cdclk: abstract intel_cdclk_read_hw() drm/i915/cdclk: abstract intel_cdclk_actual() and intel_cdclk_actual_voltage_level() drm/i915/cdclk: make struct intel_cdclk_state opaque drm/i915/power: move enum skl_power_gate under display drm/i915/power: relocate {SKL,ICL}_PW_CTL_IDX_TO_PG() drm/i915/power: convert {SKL, ICL}_PW_CTL_IDX_TO_PG() macros to a function drm/i915/fb: use struct intel_display for DISPLAY_VER() drm/i915/display: drop a number of dependencies on i915_drv.h drm/i915/power: use intel_de_wait_for_clear() instead of wait_for() Jocelyn Falempe (12): drm/panic: Add a private field to struct drm_scanout_buffer drm/i915/fbdev: Add intel_fbdev_get_map() drm/i915/display/i9xx: Add a disable_tiling() for i9xx planes drm/i915/display: Add a disable_tiling() for skl planes drm/ttm: Add ttm_bo_kmap_try_from_panic() drm/i915: Add intel_bo_alloc_framebuffer() drm/i915: Add intel_bo_panic_setup() and intel_bo_panic_finish() drm/i915/display: Add drm_panic support drm/i915/display: Add drm_panic support for Y-tiling with DPT drm/i915/display: Add drm_panic support for 4-tiling with DPT drm/i915/psr: Add intel_psr2_panic_force_full_update drm/ttm: Remove unneeded blank line in comment Luca Coelho (1): drm/i915/display: move unordered works to new private workqueue Lucas De Marchi (1): drm/xe: Fix conflicting intel_pcode_* symbols Matt Atwood (2): drm/i915/xe3lpd: Update bandwidth parameters for display version 30.02 drm/i915: Set max cdclk for display 30.02 Matt Roper (1): drm/i915/xe3lpd: Add support for display version 30.02 Nemesa Garg (1): drm/i915/display: Implement wa_16011342517 Suraj Kandpal (2): drm/i915/hdcp: Do not use inline intel_de_read drm/i915/hdcp: Use HDCP2_STREAM_STATUS instead of HDCP2_AUTH_STREAM Ville Syrj?l? (16): drm/i915/dmc: Limit pipe DMC clock gating w/a to just ADL/DG2/MTL drm/i915/dmc: Parametrize MTL_PIPEDMC_GATING_DIS drm/i915/dmc: Shuffle code around drm/i915/dmc: Extract dmc_load_program() drm/i915/dmc: Reload pipe DMC state on TGL when enabling pipe A drm/i915/dmc: Reload pipe DMC MMIO registers for pipe C/D on various platforms drm/i915/dmc: Assert DMC is loaded harder drm/i915/dmc: Pass crtc_state to intel_dmc_{enable,disable}_pipe() drm/i915/dmc: Do not enable the pipe DMC on TGL when PSR is possible drm/i915: Set PKG_C_LATENCY.added_wake_time to 0 drm/i915: Try to program PKG_C_LATENCY more correctly drm/i915/dmc: Define flip queue related PIPEDMC registers drm/i915/flipq: Provide the nuts and bolts code for flip queue drm/i915/flipq: Implement flip queue based commit path drm/i915/flipq: Implement Wa_18034343758 drm/i915/flipq: Add intel_flipq_dump() Documentation/gpu/i915.rst | 10 +- drivers/gpu/drm/i915/Makefile | 5 +- drivers/gpu/drm/i915/display/hsw_ips.c | 15 +- drivers/gpu/drm/i915/display/i9xx_plane.c | 36 +- drivers/gpu/drm/i915/display/intel_atomic.c | 2 +- drivers/gpu/drm/i915/display/intel_audio.c | 2 +- drivers/gpu/drm/i915/display/intel_bo.c | 17 + drivers/gpu/drm/i915/display/intel_bo.h | 5 + drivers/gpu/drm/i915/display/intel_bw.c | 188 ++++++-- drivers/gpu/drm/i915/display/intel_bw.h | 53 +-- drivers/gpu/drm/i915/display/intel_cdclk.c | 156 +++++-- drivers/gpu/drm/i915/display/intel_cdclk.h | 50 +-- drivers/gpu/drm/i915/display/intel_connector.c | 4 +- drivers/gpu/drm/i915/display/intel_crtc.c | 2 +- drivers/gpu/drm/i915/display/intel_cursor.c | 10 +- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 8 +- drivers/gpu/drm/i915/display/intel_ddi.c | 20 + drivers/gpu/drm/i915/display/intel_display.c | 79 +++- drivers/gpu/drm/i915/display/intel_display_core.h | 9 + .../gpu/drm/i915/display/intel_display_device.c | 1 + .../gpu/drm/i915/display/intel_display_device.h | 5 +- .../gpu/drm/i915/display/intel_display_driver.c | 39 +- drivers/gpu/drm/i915/display/intel_display_irq.c | 2 +- .../gpu/drm/i915/display/intel_display_params.c | 3 + .../gpu/drm/i915/display/intel_display_params.h | 1 + drivers/gpu/drm/i915/display/intel_display_power.c | 4 +- .../drm/i915/display/intel_display_power_well.c | 44 +- drivers/gpu/drm/i915/display/intel_display_regs.h | 21 +- drivers/gpu/drm/i915/display/intel_display_types.h | 24 ++ drivers/gpu/drm/i915/display/intel_dkl_phy_regs.h | 1 + drivers/gpu/drm/i915/display/intel_dmc.c | 457 ++++++++++++++------ drivers/gpu/drm/i915/display/intel_dmc.h | 18 +- drivers/gpu/drm/i915/display/intel_dmc_regs.h | 190 +++++++++ drivers/gpu/drm/i915/display/intel_dmc_wl.c | 4 +- drivers/gpu/drm/i915/display/intel_dp.c | 3 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 20 +- drivers/gpu/drm/i915/display/intel_drrs.c | 7 +- drivers/gpu/drm/i915/display/intel_encoder.c | 5 +- drivers/gpu/drm/i915/display/intel_fb.c | 8 +- drivers/gpu/drm/i915/display/intel_fb_pin.c | 7 +- drivers/gpu/drm/i915/display/intel_fb_pin.h | 2 + drivers/gpu/drm/i915/display/intel_fbc.c | 6 +- drivers/gpu/drm/i915/display/intel_fbdev.c | 5 + drivers/gpu/drm/i915/display/intel_fbdev.h | 6 +- drivers/gpu/drm/i915/display/intel_flipq.c | 472 +++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_flipq.h | 37 ++ drivers/gpu/drm/i915/display/intel_hdcp.c | 27 +- drivers/gpu/drm/i915/display/intel_hdcp_regs.h | 4 +- drivers/gpu/drm/i915/display/intel_hotplug.c | 12 +- drivers/gpu/drm/i915/display/intel_modeset_setup.c | 2 +- drivers/gpu/drm/i915/display/intel_opregion.c | 7 +- drivers/gpu/drm/i915/display/intel_panel.c | 5 +- .../{intel_atomic_plane.c => intel_plane.c} | 199 ++++++++- .../{intel_atomic_plane.h => intel_plane.h} | 22 +- drivers/gpu/drm/i915/display/intel_plane_initial.c | 2 +- drivers/gpu/drm/i915/display/intel_pmdemand.c | 41 +- drivers/gpu/drm/i915/display/intel_pps.c | 7 +- drivers/gpu/drm/i915/display/intel_psr.c | 31 +- drivers/gpu/drm/i915/display/intel_psr.h | 2 + drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c | 8 +- drivers/gpu/drm/i915/display/intel_sprite.c | 14 +- drivers/gpu/drm/i915/display/intel_vrr_regs.h | 121 +++--- drivers/gpu/drm/i915/display/skl_universal_plane.c | 36 +- drivers/gpu/drm/i915/display/skl_watermark.c | 452 ++++++++++---------- drivers/gpu/drm/i915/display/skl_watermark.h | 33 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_object.h | 6 + drivers/gpu/drm/i915/gem/i915_gem_pages.c | 142 +++++++ drivers/gpu/drm/i915/i915_reg.h | 14 +- drivers/gpu/drm/i915/i915_vma.h | 5 + drivers/gpu/drm/i915/intel_pcode.c | 29 +- drivers/gpu/drm/i915/intel_pcode.h | 15 +- drivers/gpu/drm/i915/selftests/i915_request.c | 20 +- drivers/gpu/drm/i915/selftests/mock_request.c | 2 +- drivers/gpu/drm/i915/soc/intel_dram.c | 5 +- drivers/gpu/drm/ttm/ttm_bo_util.c | 26 ++ drivers/gpu/drm/xe/Makefile | 3 +- .../gpu/drm/xe/compat-i915-headers/intel_pcode.h | 31 -- .../gpu/drm/xe/compat-i915-headers/intel_uncore.h | 7 - drivers/gpu/drm/xe/display/intel_bo.c | 91 ++++ drivers/gpu/drm/xe/display/xe_fb_pin.c | 5 + drivers/gpu/drm/xe/display/xe_plane_initial.c | 2 +- drivers/gpu/drm/xe/xe_pcode.c | 30 ++ drivers/gpu/drm/xe/xe_pcode.h | 12 +- include/drm/drm_panic.h | 6 + include/drm/ttm/ttm_bo.h | 1 + 86 files changed, 2638 insertions(+), 904 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_flipq.c create mode 100644 drivers/gpu/drm/i915/display/intel_flipq.h rename drivers/gpu/drm/i915/display/{intel_atomic_plane.c => intel_plane.c} (89%) rename drivers/gpu/drm/i915/display/{intel_atomic_plane.h => intel_plane.h} (86%) -- Jani Nikula, Intel From lukas at wunner.de Sat Jul 5 08:51:36 2025 From: lukas at wunner.de (Lukas Wunner) Date: Sat, 5 Jul 2025 10:51:36 +0200 Subject: [PATCH dim-tools] dim: Avoid hardcoding remote name for linux-upstream Message-ID: <51b6c7949b3e3db91aaa0c8a50981b749219d76b.1751705203.git.lukas@wunner.de> dim hardcodes "origin" as remote name for linux-upstream in a number of places. This (only) works if "origin" is indeed Torvalds' repo. Resolve the remote name for linux-upstream at runtime to make dim work with local repos that lack an "origin" remote or use it for something else. Signed-off-by: Lukas Wunner --- Somebody please consider applying this. It looks like I cannot push to the maintainer-tools repo despite being allowed to push to drm-misc. Or I'm doing something wrong. Thanks! dim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dim b/dim index 81e46f7990f7..9df23992188d 100755 --- a/dim +++ b/dim @@ -1352,7 +1352,7 @@ function dim_apply_pull fi check_merge_baseline FETCH_HEAD $branch $(branch_to_remote drm-fixes)/drm-fixes - check_merge_baseline FETCH_HEAD $branch origin/master + check_merge_baseline FETCH_HEAD $branch $(repo_to_remote linux-upstream)/master repo=$(branch_to_repo $branch) checkpatch_commit_push_range 0 $repo "HEAD..FETCH_HEAD" @@ -2404,7 +2404,7 @@ function dim_pull_request_next function dim_pull_request_fixes { - upstream=${1:-origin/master} + upstream=${1:-$(repo_to_remote linux-upstream)/master} dim_pull_request drm-intel-fixes $upstream } @@ -2419,7 +2419,7 @@ function dim_list_upstreams { cd $DIM_PREFIX/$DIM_REPO - echo origin/master + echo $(repo_to_remote linux-upstream)/master echo $(branch_to_remote drm-next)/drm-next echo $(branch_to_remote drm-fixes)/drm-fixes } @@ -2478,7 +2478,7 @@ function dim_status drm_next_upstream=$(branch_to_remote drm-fixes)/drm-fixes drm_fixes_upstream=$(branch_to_remote drm-next)/drm-next - patches=$(git log --oneline $remote/$branch ^origin/master \ + patches=$(git log --oneline $remote/$branch ^$(repo_to_remote linux-upstream)/master \ ^$drm_next_upstream ^$drm_fixes_upstream | wc -l) if [[ $patches -ne 0 ]] ; then @@ -2706,7 +2706,7 @@ function dim_tc fi # not in a tagged release, show upstream branches - remote_branches="origin/master" + remote_branches="$(repo_to_remote linux-upstream)/master" for conf in "${drm_tip_config[@]}"; do local repo branch override remote -- 2.47.2 From lukas at wunner.de Sat Jul 5 09:03:28 2025 From: lukas at wunner.de (Lukas Wunner) Date: Sat, 5 Jul 2025 11:03:28 +0200 Subject: [PATCH dim-tools] dim: Check for maintainer's ack when merging on behalf of another tree Message-ID: On Fri, Mar 01, 2024 at 01:58:25PM +0100, Maxime Ripard wrote: > We've recently had multiple occurences of people taking patches through > the drm-misc tree for parts of the kernel that aren't under drm-misc > maintenance, and without the maintainers Ack. > > While merging patches on behalf of someone else is totally something we > can do, we need to tell the maintainer and make sure he's fine with > that. > > This patch adds some logic to detect if the the range of commits belong > indeed to the branch we are currently working on, and if not check for > the maintainer's Acked-by or Signed-off-by. This was pushed to maintainer-tools yesterday and immediately tripped me up when trying to push a commit amending MAINTAINERS: https://lore.kernel.org/r/aGjd01Lyn5reVAEN at wunner.de That's because... git show HEAD | \ scripts/get_maintainer.pl --no-git-fallback -m --nol --norolestats ...returns nothing. I had to cheat by inserting a "return 0" in checkpatch_maintainer(). I think we either need to return 0 if the command returns nothing (i.e. no known maintainers) or we need a whitelist for certain files. Thanks, Lukas From simona.vetter at ffwll.ch Tue Jul 8 12:30:27 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Tue, 8 Jul 2025 14:30:27 +0200 Subject: [PULL] drm-intel-next In-Reply-To: <6d728bf6ef23681b00dfbc7da9aeae41042dee02@intel.com> References: <6d728bf6ef23681b00dfbc7da9aeae41042dee02@intel.com> Message-ID: On Fri, Jul 04, 2025 at 01:29:23PM +0300, Jani Nikula wrote: > > Hi Dave & Sima - > > Here's the second i915 feature pull request for v6.17, mostly just > display changes. > > Rodrigo will handle the subsequent (likely just fixes) pull requests for > v6.17, if any. > > > BR, > Jani. > > > drm-intel-next-2025-07-04: > drm/i915 feature pull #2 for v6.17: > > Features and functionality: > - Add drm_panic support for both i915 and xe drivers (Jocelyn Falempe) > - Add initial flip queue implementation, disabled by default, for LNL and PTL > (Ville) > - Add support for Wildcat Lake (WCL) display, version 30.02 (Matt Roper, Matt > Atwood, Dnyaneshwar) > - Extend drm_panel and follower support to DDI eDP (Arun) > > Refactoring and cleanups: > - Make all global state objects opaque (Jani) > - Move display works to display specific unordered workqueue (Luca) > - Add and use struct drm_device based pcode interface (Jani, Lucas) > - Use clamp() instead of max()+min() combo (Ankit) > - Simplify wait for power well disable (Jani) > - Various stylistics cleanups and renames (Jani) > > Fixes: > - Deal with loss of pipe DMC state (Ville) > - Fix PTL HDCP2 stream status check (Suraj) > - Add workaround for ADL-P DKL PHY DP and HDMI (Nemesa) > - Fix skl_print_wm_changes() stack usage with KMSAN (Arnd Bergmann) > - Fix PCON capability reads on non-branch devices (Chaitanya) > - Fix which platforms have ultra joiner (Ankit) > > DRM core changes: > - Add ttm_bo_kmap_try_from_panic() for xe drm_panic support (Jocelyn Falempe) > - Add private pointer to struct drm_scanout buffer for xe/i915 drm_panic support > (Jocelyn Falempe) > > Merges: > - Backmerge drm-next for drm_panel and xe changes (Jani) > > BR, > Jani. > > The following changes since commit 36c52fb703e90388285963fc8f03cf60f76cbe4c: > > Merge tag 'drm-intel-next-2025-06-18' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2025-06-23 10:49:27 +1000) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-next-2025-07-04 Pulled into drm-next, thanks. -Sima > > for you to fetch changes up to d6a59ee852758bc69c4cc821954db277a2bd5b93: > > drm/ttm: Remove unneeded blank line in comment (2025-07-02 13:31:20 -0700) > > ---------------------------------------------------------------- > drm/i915 feature pull #2 for v6.17: > > Features and functionality: > - Add drm_panic support for both i915 and xe drivers (Jocelyn Falempe) > - Add initial flip queue implementation, disabled by default, for LNL and PTL > (Ville) > - Add support for Wildcat Lake (WCL) display, version 30.02 (Matt Roper, Matt > Atwood, Dnyaneshwar) > - Extend drm_panel and follower support to DDI eDP (Arun) > > Refactoring and cleanups: > - Make all global state objects opaque (Jani) > - Move display works to display specific unordered workqueue (Luca) > - Add and use struct drm_device based pcode interface (Jani, Lucas) > - Use clamp() instead of max()+min() combo (Ankit) > - Simplify wait for power well disable (Jani) > - Various stylistics cleanups and renames (Jani) > > Fixes: > - Deal with loss of pipe DMC state (Ville) > - Fix PTL HDCP2 stream status check (Suraj) > - Add workaround for ADL-P DKL PHY DP and HDMI (Nemesa) > - Fix skl_print_wm_changes() stack usage with KMSAN (Arnd Bergmann) > - Fix PCON capability reads on non-branch devices (Chaitanya) > - Fix which platforms have ultra joiner (Ankit) > > DRM core changes: > - Add ttm_bo_kmap_try_from_panic() for xe drm_panic support (Jocelyn Falempe) > - Add private pointer to struct drm_scanout buffer for xe/i915 drm_panic support > (Jocelyn Falempe) > > Merges: > - Backmerge drm-next for drm_panel and xe changes (Jani) > > ---------------------------------------------------------------- > Ankit Nautiyal (3): > drm/i915/snps_hdmi_pll: Fix 64-bit divisor truncation by using div64_u64 > drm/i915/snps_hdmi_pll: Use clamp() instead of max(min()) > drm/i915/display: Fix macro HAS_ULTRAJOINER > > Arnd Bergmann (1): > drm/i915/wm: reduce stack usage in skl_print_wm_changes() > > Arun R Murthy (1): > drm/i915/panel: register drm_panel and call prepare/unprepare for eDP > > Chaitanya Kumar Borah (1): > drm/xe/display: read PCON capability only when present > > Dan Carpenter (1): > drm/i915/selftests: Change mock_request() to return error pointers > > Dnyaneshwar Bhadane (3): > drm/i915/xe3lpd: Extend DMC load path for display > drm/i915/wcl: C10 phy connected to port A and B > drm/i915/xe3lpd: Extend WA 16023981245 for display 30.02 > > Hans de Goede (1): > drm/i915/dsi: Fix NULL pointer deref in vlv_dphy_param_init() > > Jani Nikula (37): > drm/i915/vrr: fix register file style > drm/i915/plane: rename intel_atomic_plane.[ch] to intel_plane.[ch] > drm/i915/plane: drop atomic from intel_atomic_plane_check_clipping() > drm/i915/plane: make intel_plane_atomic_check() static and rename > drm/i915/plane: rename intel_atomic_check_planes() to intel_plane_atomic_check() > drm/i915/plane: rename intel_atomic_add_affected_planes() to intel_plane_add_affected() > Merge drm/drm-next into drm-intel-next > drm/i915/panel: make panel funcs static > drm/i915/pcode: drop fast wait from snb_pcode_write_timeout() > drm/i915/pcode: add struct drm_device based interface > drm/xe/pcode: add struct drm_device based interface > drm/i915/display: switch to struct drm_device based pcode interface > drm/i915/dram: switch to struct drm_device based pcode interface > drm/xe/compat: remove old pcode compat interface > drm/i915: remove unused DISPLAY_PLANE_FLIP_PENDING() macro > drm/i915/wm: abstract intel_dbuf_pmdemand_needs_update() > drm/i915/wm: add more accessors to dbuf state > drm/i915/wm: make struct intel_dbuf_state opaque type > drm/i915/bw: abstract intel_bw_pmdemand_needs_update() > drm/i915/bw: relocate intel_can_enable_sagv() and rename to intel_bw_can_enable_sagv() > drm/i915: move icl_sagv_{pre, post}_plane_update() to intel_bw.c > drm/i915/bw: abstract intel_bw_qgv_point_peakbw() > drm/i915/bw: make struct intel_bw_state opaque > drm/i915/cdclk: abstract intel_cdclk_logical() > drm/i915/cdclk: abstract intel_cdclk_min_cdclk() > drm/i915/cdclk: abstract intel_cdclk_bw_min_cdclk() > drm/i915/cdclk: abstract intel_cdclk_pmdemand_needs_update() > drm/i915/cdclk: abstract intel_cdclk_force_min_cdclk() > drm/i915/cdclk: abstract intel_cdclk_read_hw() > drm/i915/cdclk: abstract intel_cdclk_actual() and intel_cdclk_actual_voltage_level() > drm/i915/cdclk: make struct intel_cdclk_state opaque > drm/i915/power: move enum skl_power_gate under display > drm/i915/power: relocate {SKL,ICL}_PW_CTL_IDX_TO_PG() > drm/i915/power: convert {SKL, ICL}_PW_CTL_IDX_TO_PG() macros to a function > drm/i915/fb: use struct intel_display for DISPLAY_VER() > drm/i915/display: drop a number of dependencies on i915_drv.h > drm/i915/power: use intel_de_wait_for_clear() instead of wait_for() > > Jocelyn Falempe (12): > drm/panic: Add a private field to struct drm_scanout_buffer > drm/i915/fbdev: Add intel_fbdev_get_map() > drm/i915/display/i9xx: Add a disable_tiling() for i9xx planes > drm/i915/display: Add a disable_tiling() for skl planes > drm/ttm: Add ttm_bo_kmap_try_from_panic() > drm/i915: Add intel_bo_alloc_framebuffer() > drm/i915: Add intel_bo_panic_setup() and intel_bo_panic_finish() > drm/i915/display: Add drm_panic support > drm/i915/display: Add drm_panic support for Y-tiling with DPT > drm/i915/display: Add drm_panic support for 4-tiling with DPT > drm/i915/psr: Add intel_psr2_panic_force_full_update > drm/ttm: Remove unneeded blank line in comment > > Luca Coelho (1): > drm/i915/display: move unordered works to new private workqueue > > Lucas De Marchi (1): > drm/xe: Fix conflicting intel_pcode_* symbols > > Matt Atwood (2): > drm/i915/xe3lpd: Update bandwidth parameters for display version 30.02 > drm/i915: Set max cdclk for display 30.02 > > Matt Roper (1): > drm/i915/xe3lpd: Add support for display version 30.02 > > Nemesa Garg (1): > drm/i915/display: Implement wa_16011342517 > > Suraj Kandpal (2): > drm/i915/hdcp: Do not use inline intel_de_read > drm/i915/hdcp: Use HDCP2_STREAM_STATUS instead of HDCP2_AUTH_STREAM > > Ville Syrj?l? (16): > drm/i915/dmc: Limit pipe DMC clock gating w/a to just ADL/DG2/MTL > drm/i915/dmc: Parametrize MTL_PIPEDMC_GATING_DIS > drm/i915/dmc: Shuffle code around > drm/i915/dmc: Extract dmc_load_program() > drm/i915/dmc: Reload pipe DMC state on TGL when enabling pipe A > drm/i915/dmc: Reload pipe DMC MMIO registers for pipe C/D on various platforms > drm/i915/dmc: Assert DMC is loaded harder > drm/i915/dmc: Pass crtc_state to intel_dmc_{enable,disable}_pipe() > drm/i915/dmc: Do not enable the pipe DMC on TGL when PSR is possible > drm/i915: Set PKG_C_LATENCY.added_wake_time to 0 > drm/i915: Try to program PKG_C_LATENCY more correctly > drm/i915/dmc: Define flip queue related PIPEDMC registers > drm/i915/flipq: Provide the nuts and bolts code for flip queue > drm/i915/flipq: Implement flip queue based commit path > drm/i915/flipq: Implement Wa_18034343758 > drm/i915/flipq: Add intel_flipq_dump() > > Documentation/gpu/i915.rst | 10 +- > drivers/gpu/drm/i915/Makefile | 5 +- > drivers/gpu/drm/i915/display/hsw_ips.c | 15 +- > drivers/gpu/drm/i915/display/i9xx_plane.c | 36 +- > drivers/gpu/drm/i915/display/intel_atomic.c | 2 +- > drivers/gpu/drm/i915/display/intel_audio.c | 2 +- > drivers/gpu/drm/i915/display/intel_bo.c | 17 + > drivers/gpu/drm/i915/display/intel_bo.h | 5 + > drivers/gpu/drm/i915/display/intel_bw.c | 188 ++++++-- > drivers/gpu/drm/i915/display/intel_bw.h | 53 +-- > drivers/gpu/drm/i915/display/intel_cdclk.c | 156 +++++-- > drivers/gpu/drm/i915/display/intel_cdclk.h | 50 +-- > drivers/gpu/drm/i915/display/intel_connector.c | 4 +- > drivers/gpu/drm/i915/display/intel_crtc.c | 2 +- > drivers/gpu/drm/i915/display/intel_cursor.c | 10 +- > drivers/gpu/drm/i915/display/intel_cx0_phy.c | 8 +- > drivers/gpu/drm/i915/display/intel_ddi.c | 20 + > drivers/gpu/drm/i915/display/intel_display.c | 79 +++- > drivers/gpu/drm/i915/display/intel_display_core.h | 9 + > .../gpu/drm/i915/display/intel_display_device.c | 1 + > .../gpu/drm/i915/display/intel_display_device.h | 5 +- > .../gpu/drm/i915/display/intel_display_driver.c | 39 +- > drivers/gpu/drm/i915/display/intel_display_irq.c | 2 +- > .../gpu/drm/i915/display/intel_display_params.c | 3 + > .../gpu/drm/i915/display/intel_display_params.h | 1 + > drivers/gpu/drm/i915/display/intel_display_power.c | 4 +- > .../drm/i915/display/intel_display_power_well.c | 44 +- > drivers/gpu/drm/i915/display/intel_display_regs.h | 21 +- > drivers/gpu/drm/i915/display/intel_display_types.h | 24 ++ > drivers/gpu/drm/i915/display/intel_dkl_phy_regs.h | 1 + > drivers/gpu/drm/i915/display/intel_dmc.c | 457 ++++++++++++++------ > drivers/gpu/drm/i915/display/intel_dmc.h | 18 +- > drivers/gpu/drm/i915/display/intel_dmc_regs.h | 190 +++++++++ > drivers/gpu/drm/i915/display/intel_dmc_wl.c | 4 +- > drivers/gpu/drm/i915/display/intel_dp.c | 3 + > drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 20 +- > drivers/gpu/drm/i915/display/intel_drrs.c | 7 +- > drivers/gpu/drm/i915/display/intel_encoder.c | 5 +- > drivers/gpu/drm/i915/display/intel_fb.c | 8 +- > drivers/gpu/drm/i915/display/intel_fb_pin.c | 7 +- > drivers/gpu/drm/i915/display/intel_fb_pin.h | 2 + > drivers/gpu/drm/i915/display/intel_fbc.c | 6 +- > drivers/gpu/drm/i915/display/intel_fbdev.c | 5 + > drivers/gpu/drm/i915/display/intel_fbdev.h | 6 +- > drivers/gpu/drm/i915/display/intel_flipq.c | 472 +++++++++++++++++++++ > drivers/gpu/drm/i915/display/intel_flipq.h | 37 ++ > drivers/gpu/drm/i915/display/intel_hdcp.c | 27 +- > drivers/gpu/drm/i915/display/intel_hdcp_regs.h | 4 +- > drivers/gpu/drm/i915/display/intel_hotplug.c | 12 +- > drivers/gpu/drm/i915/display/intel_modeset_setup.c | 2 +- > drivers/gpu/drm/i915/display/intel_opregion.c | 7 +- > drivers/gpu/drm/i915/display/intel_panel.c | 5 +- > .../{intel_atomic_plane.c => intel_plane.c} | 199 ++++++++- > .../{intel_atomic_plane.h => intel_plane.h} | 22 +- > drivers/gpu/drm/i915/display/intel_plane_initial.c | 2 +- > drivers/gpu/drm/i915/display/intel_pmdemand.c | 41 +- > drivers/gpu/drm/i915/display/intel_pps.c | 7 +- > drivers/gpu/drm/i915/display/intel_psr.c | 31 +- > drivers/gpu/drm/i915/display/intel_psr.h | 2 + > drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c | 8 +- > drivers/gpu/drm/i915/display/intel_sprite.c | 14 +- > drivers/gpu/drm/i915/display/intel_vrr_regs.h | 121 +++--- > drivers/gpu/drm/i915/display/skl_universal_plane.c | 36 +- > drivers/gpu/drm/i915/display/skl_watermark.c | 452 ++++++++++---------- > drivers/gpu/drm/i915/display/skl_watermark.h | 33 +- > drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- > drivers/gpu/drm/i915/gem/i915_gem_object.h | 6 + > drivers/gpu/drm/i915/gem/i915_gem_pages.c | 142 +++++++ > drivers/gpu/drm/i915/i915_reg.h | 14 +- > drivers/gpu/drm/i915/i915_vma.h | 5 + > drivers/gpu/drm/i915/intel_pcode.c | 29 +- > drivers/gpu/drm/i915/intel_pcode.h | 15 +- > drivers/gpu/drm/i915/selftests/i915_request.c | 20 +- > drivers/gpu/drm/i915/selftests/mock_request.c | 2 +- > drivers/gpu/drm/i915/soc/intel_dram.c | 5 +- > drivers/gpu/drm/ttm/ttm_bo_util.c | 26 ++ > drivers/gpu/drm/xe/Makefile | 3 +- > .../gpu/drm/xe/compat-i915-headers/intel_pcode.h | 31 -- > .../gpu/drm/xe/compat-i915-headers/intel_uncore.h | 7 - > drivers/gpu/drm/xe/display/intel_bo.c | 91 ++++ > drivers/gpu/drm/xe/display/xe_fb_pin.c | 5 + > drivers/gpu/drm/xe/display/xe_plane_initial.c | 2 +- > drivers/gpu/drm/xe/xe_pcode.c | 30 ++ > drivers/gpu/drm/xe/xe_pcode.h | 12 +- > include/drm/drm_panic.h | 6 + > include/drm/ttm/ttm_bo.h | 1 + > 86 files changed, 2638 insertions(+), 904 deletions(-) > create mode 100644 drivers/gpu/drm/i915/display/intel_flipq.c > create mode 100644 drivers/gpu/drm/i915/display/intel_flipq.h > rename drivers/gpu/drm/i915/display/{intel_atomic_plane.c => intel_plane.c} (89%) > rename drivers/gpu/drm/i915/display/{intel_atomic_plane.h => intel_plane.h} (86%) > > -- > Jani Nikula, Intel -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From rodrigo.vivi at intel.com Tue Jul 8 21:19:52 2025 From: rodrigo.vivi at intel.com (Rodrigo Vivi) Date: Tue, 8 Jul 2025 17:19:52 -0400 Subject: [PATCH dim-tools] dim: Avoid hardcoding remote name for linux-upstream In-Reply-To: <51b6c7949b3e3db91aaa0c8a50981b749219d76b.1751705203.git.lukas@wunner.de> References: <51b6c7949b3e3db91aaa0c8a50981b749219d76b.1751705203.git.lukas@wunner.de> Message-ID: On Sat, Jul 05, 2025 at 10:51:36AM +0200, Lukas Wunner wrote: > dim hardcodes "origin" as remote name for linux-upstream in a number of > places. This (only) works if "origin" is indeed Torvalds' repo. > > Resolve the remote name for linux-upstream at runtime to make dim work > with local repos that lack an "origin" remote or use it for something > else. I'm afraid this doesn't 'resolve the name' but instead force everyone else to use linux-upstream as the name for Linus branch. I know that origin might not be ideal for everyone, but imho is better then forcing everyone to stick with a non-standard name. Just an example here as I tried to apply your patch and then created a function in my .dimrc: dim_blah() { echo $(repo_to_remote linux-upstream)/master } rdvivi at rdvivi-mobl1:~/linux/maintainer-tools$ dim blah dim: Adding remote for linux-upstream repo from URLs: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git Enter a name to auto-add this remote, leave blank to abort: linux-upstream I know, you might say that I could then come here and type 'origin' and we would both be covered, but besides the inconvenience, it is not that straight forward: rdvivi at rdvivi-mobl1:~/linux/maintainer-tools$ dim blah dim: Adding remote for linux-upstream repo from URLs: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git Enter a name to auto-add this remote, leave blank to abort: origin error: remote origin already exists. origin/master I mean, I support the idea to find some flexible way, just please make it straightforward to everyone and without forcing your naming on everybody. another comment below: > > Signed-off-by: Lukas Wunner > --- > Somebody please consider applying this. It looks like I cannot push to > the maintainer-tools repo despite being allowed to push to drm-misc. > Or I'm doing something wrong. Thanks! Please take a look at: https://gitlab.freedesktop.org/drm/maintainer-tools We are now sending merge requests there instead of patches in this mailing list. Thanks a lot, Rodrigo. > > dim | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/dim b/dim > index 81e46f7990f7..9df23992188d 100755 > --- a/dim > +++ b/dim > @@ -1352,7 +1352,7 @@ function dim_apply_pull > fi > > check_merge_baseline FETCH_HEAD $branch $(branch_to_remote drm-fixes)/drm-fixes > - check_merge_baseline FETCH_HEAD $branch origin/master > + check_merge_baseline FETCH_HEAD $branch $(repo_to_remote linux-upstream)/master > > repo=$(branch_to_repo $branch) > checkpatch_commit_push_range 0 $repo "HEAD..FETCH_HEAD" > @@ -2404,7 +2404,7 @@ function dim_pull_request_next > > function dim_pull_request_fixes > { > - upstream=${1:-origin/master} > + upstream=${1:-$(repo_to_remote linux-upstream)/master} > dim_pull_request drm-intel-fixes $upstream > } > > @@ -2419,7 +2419,7 @@ function dim_list_upstreams > { > cd $DIM_PREFIX/$DIM_REPO > > - echo origin/master > + echo $(repo_to_remote linux-upstream)/master > echo $(branch_to_remote drm-next)/drm-next > echo $(branch_to_remote drm-fixes)/drm-fixes > } > @@ -2478,7 +2478,7 @@ function dim_status > drm_next_upstream=$(branch_to_remote drm-fixes)/drm-fixes > drm_fixes_upstream=$(branch_to_remote drm-next)/drm-next > > - patches=$(git log --oneline $remote/$branch ^origin/master \ > + patches=$(git log --oneline $remote/$branch ^$(repo_to_remote linux-upstream)/master \ > ^$drm_next_upstream ^$drm_fixes_upstream | wc -l) > > if [[ $patches -ne 0 ]] ; then > @@ -2706,7 +2706,7 @@ function dim_tc > fi > > # not in a tagged release, show upstream branches > - remote_branches="origin/master" > + remote_branches="$(repo_to_remote linux-upstream)/master" > for conf in "${drm_tip_config[@]}"; do > local repo branch override remote > > -- > 2.47.2 > From lukas at wunner.de Wed Jul 9 06:21:05 2025 From: lukas at wunner.de (Lukas Wunner) Date: Wed, 9 Jul 2025 08:21:05 +0200 Subject: [PATCH dim-tools] dim: Avoid hardcoding remote name for linux-upstream In-Reply-To: References: <51b6c7949b3e3db91aaa0c8a50981b749219d76b.1751705203.git.lukas@wunner.de> Message-ID: On Tue, Jul 08, 2025 at 05:19:52PM -0400, Rodrigo Vivi wrote: > On Sat, Jul 05, 2025 at 10:51:36AM +0200, Lukas Wunner wrote: > > dim hardcodes "origin" as remote name for linux-upstream in a number of > > places. This (only) works if "origin" is indeed Torvalds' repo. > > > > Resolve the remote name for linux-upstream at runtime to make dim work > > with local repos that lack an "origin" remote or use it for something > > else. > > I'm afraid this doesn't 'resolve the name' but instead force everyone > else to use linux-upstream as the name for Linus branch. No, "linux-upstream" is the symbolic git repo name used in nightly.conf (in the drm-rerere repo). > rdvivi at rdvivi-mobl1:~/linux/maintainer-tools$ dim blah > dim: Adding remote for linux-upstream repo from URLs: > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git Hm, are you not using one of those URLs for your "origin" remote? What does "git remote -v | grep origin" return? > > Somebody please consider applying this. It looks like I cannot push to > > the maintainer-tools repo despite being allowed to push to drm-misc. > > Or I'm doing something wrong. Thanks! > > Please take a look at: > https://gitlab.freedesktop.org/drm/maintainer-tools > > We are now sending merge requests there instead of patches in this mailing list. Thanks! I didn't get that memo. Lukas From rodrigo.vivi at intel.com Wed Jul 9 13:54:02 2025 From: rodrigo.vivi at intel.com (Rodrigo Vivi) Date: Wed, 9 Jul 2025 09:54:02 -0400 Subject: [PATCH dim-tools] dim: Avoid hardcoding remote name for linux-upstream In-Reply-To: References: <51b6c7949b3e3db91aaa0c8a50981b749219d76b.1751705203.git.lukas@wunner.de> Message-ID: On Wed, Jul 09, 2025 at 08:21:05AM +0200, Lukas Wunner wrote: > On Tue, Jul 08, 2025 at 05:19:52PM -0400, Rodrigo Vivi wrote: > > On Sat, Jul 05, 2025 at 10:51:36AM +0200, Lukas Wunner wrote: > > > dim hardcodes "origin" as remote name for linux-upstream in a number of > > > places. This (only) works if "origin" is indeed Torvalds' repo. > > > > > > Resolve the remote name for linux-upstream at runtime to make dim work > > > with local repos that lack an "origin" remote or use it for something > > > else. > > > > I'm afraid this doesn't 'resolve the name' but instead force everyone > > else to use linux-upstream as the name for Linus branch. > > No, "linux-upstream" is the symbolic git repo name used in nightly.conf > (in the drm-rerere repo). oh! I'm sorry, I had missed that indeed. But perhaps change that to be origin?! :) > > > rdvivi at rdvivi-mobl1:~/linux/maintainer-tools$ dim blah > > dim: Adding remote for linux-upstream repo from URLs: > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git > > Hm, are you not using one of those URLs for your "origin" remote? yes, I am, but the thing is that the first time it tries to access the linux-upstream, it doesn't exist. nothing to do with the origin. > What does "git remote -v | grep origin" return? rdvivi at rdvivi-mobl1:~/linux/drm-tip$ git remote -v | grep origin origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (fetch) origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (push) > > > > Somebody please consider applying this. It looks like I cannot push to > > > the maintainer-tools repo despite being allowed to push to drm-misc. > > > Or I'm doing something wrong. Thanks! > > > > Please take a look at: > > https://gitlab.freedesktop.org/drm/maintainer-tools > > > > We are now sending merge requests there instead of patches in this mailing list. > > Thanks! I didn't get that memo. > > Lukas From maarten.lankhorst at linux.intel.com Thu Jul 10 08:59:19 2025 From: maarten.lankhorst at linux.intel.com (Maarten Lankhorst) Date: Thu, 10 Jul 2025 10:59:19 +0200 Subject: [PULL] drm-misc-fixes Message-ID: Hi Dave, Simona, Pull request for v6.16! Best regards, ~Maarten drm-misc-fixes-2025-07-10: drm-misc-fixes for v6.16-rc6 or final: - Fix nouveau fail on debugfs errors. - Magic 50 ms to fix nouveau suspend. - Call rust destructor on drm device release. - Fix DMA api error handling in tegra/nvdec. - Fix PVR device reset. - Habanalabs maintainer update. - Small memory leak fix when nouveau acpi init fails. - Do not attempt to bind to any PCI device with AGP capability. - Make FB's acquire handles on backing object, same as i915/xe already does. - Fix race in drm_gem_handle_create_tail. The following changes since commit 226862f50a7a88e4e4de9abbf36c64d19acd6fd0: drm/v3d: Disable interrupts before resetting the GPU (2025-07-02 19:08:11 -0300) are available in the Git repository at: https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2025-07-10 for you to fetch changes up to bd46cece51a36ef088f22ef0416ac13b0a46d5b0: drm/gem: Fix race in drm_gem_handle_create_tail() (2025-07-09 15:53:34 +0200) ---------------------------------------------------------------- drm-misc-fixes for v6.16-rc6 or final: - Fix nouveau fail on debugfs errors. - Magic 50 ms to fix nouveau suspend. - Call rust destructor on drm device release. - Fix DMA api error handling in tegra/nvdec. - Fix PVR device reset. - Habanalabs maintainer update. - Small memory leak fix when nouveau acpi init fails. - Do not attempt to bind to any PCI device with AGP capability. - Make FB's acquire handles on backing object, same as i915/xe already does. - Fix race in drm_gem_handle_create_tail. ---------------------------------------------------------------- Aaron Thompson (1): drm/nouveau: Do not fail module init on debugfs errors Alessio Belle (1): drm/imagination: Fix kernel crash when hard resetting the GPU Ben Skeggs (1): drm/nouveau/gsp: fix potential leak of memory used during acpi init Danilo Krummrich (1): rust: drm: device: drop_in_place() the drm::Device in release() Dave Airlie (1): nouveau/gsp: add a 50ms delay between fbsr and driver unload rpcs Lukas Wunner (1): agp/amd64: Check AGP Capability before binding to unsupported devices Mikko Perttunen (1): drm/tegra: nvdec: Fix dma_alloc_coherent error check Ofir Bitton (1): MAINTAINERS: Change habanalabs maintainer Simona Vetter (1): drm/gem: Fix race in drm_gem_handle_create_tail() Tamir Duberstein (1): rust: drm: remove unnecessary imports Thomas Zimmermann (1): drm/framebuffer: Acquire internal references on GEM handles MAINTAINERS | 2 +- drivers/char/agp/amd64-agp.c | 16 ++++---- drivers/gpu/drm/drm_framebuffer.c | 31 +++++++++++++- drivers/gpu/drm/drm_gem.c | 48 +++++++++++++++------- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 16 ++++---- drivers/gpu/drm/drm_internal.h | 2 +- drivers/gpu/drm/drm_panic_qr.rs | 2 +- drivers/gpu/drm/imagination/pvr_power.c | 4 +- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 6 +-- drivers/gpu/drm/nouveau/nouveau_debugfs.h | 5 +-- drivers/gpu/drm/nouveau/nouveau_drm.c | 4 +- .../gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c | 27 +++++++++--- drivers/gpu/drm/tegra/nvdec.c | 6 +-- include/drm/drm_file.h | 3 ++ include/drm/drm_framebuffer.h | 7 ++++ rust/kernel/drm/device.rs | 12 +++++- rust/kernel/drm/driver.rs | 1 - 17 files changed, 130 insertions(+), 62 deletions(-) From mripard at redhat.com Thu Jul 10 10:06:19 2025 From: mripard at redhat.com (Maxime Ripard) Date: Thu, 10 Jul 2025 12:06:19 +0200 Subject: [PULL] drm-misc-next Message-ID: <20250710-observant-elite-dingo-acfd6d@houat> Hi Dave, Sima, Here's this week drm-misc-next PR. It's likely to be the last PR for this release cycle. Maxime drm-misc-next-2025-07-10: drm-misc-next for 6.17: UAPI Changes: Cross-subsystem Changes: Core Changes: Driver Changes: - amdgpu: debugfs improvements - ast: Improve hardware generations implementation - dma-buf heaps: - Give the CMA heap a stable name - panthor: fix UAF in debugfs - rockchip: Convert inno_hdmi to a bridge - sti: Convert to devm_drm_bridge_alloc() - vkms: Use faux_device - bridge: - Improve CEC handling code, convertions to devm_drm_bridge_alloc() The following changes since commit 203dcde881561f1a4ee1084e2ee438fb4522c94a: Merge tag 'drm-msm-next-2025-07-05' of https://gitlab.freedesktop.org/drm/msm into drm-next (2025-07-08 14:31:19 +0200) are available in the Git repository at: https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2025-07-10 for you to fetch changes up to fe69a391808404977b1f002a6e7447de3de7a88e: drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code (2025-07-10 10:16:50 +0100) ---------------------------------------------------------------- drm-misc-next for 6.17: UAPI Changes: Cross-subsystem Changes: Core Changes: Driver Changes: - amdgpu: debugfs improvements - ast: Improve hardware generations implementation - dma-buf heaps: - Give the CMA heap a stable name - panthor: fix UAF in debugfs - rockchip: Convert inno_hdmi to a bridge - sti: Convert to devm_drm_bridge_alloc() - vkms: Use faux_device - bridge: - Improve CEC handling code, convertions to devm_drm_bridge_alloc() ---------------------------------------------------------------- Alessio Belle (1): drm/imagination: Clear runtime PM errors while resetting the GPU Andy Yan (9): drm/rockchip: inno_hdmi: Merge register definition to c file drm/rockchip: inno_hdmi: Refactor register macros to make checkpatch happy drm/rockchip: inno_hdmi: Remove unnecessary parentheses to make checkpatch happy drm/rockchip: inno_hdmi: Rename function inno_hdmi_reset to inno_hdmi_init_hw drm/rockchip: inno_hdmi: Move ddc/i2c configuration and HOTPLUG unmute to inno_hdmi_init_hw drm/rockchip: inno_hdmi: Use sleep_range instead of udelay drm/rockchip: inno_hdmi: switch i2c registration to devm functions drm/rockchip: inno_hdmi: Simpify clk get/enable by devm_clk_get_enabled api drm/rockchip: vop2: Fix the update of LAYER/PORT select registers when there are multi display output on rk3588/rk3568 Chaoyi Chen (2): drm/rockchip: lvds: Convert to drm bridge drm/rockchip: cdn-dp: Convert to drm bridge Cristian Ciocaltea (3): drm/display: hdmi-cec-helper: Fix adapter unregistration drm/bridge: Fix kdoc comment for DRM_BRIDGE_OP_HDMI_CEC_ADAPTER drm/bridge: adv7511: Fix DRM_BRIDGE_OP_HDMI_{AUDIO|CEC_ADAPTER} setup Dan Carpenter (1): drm/dp: Clean up white space in drm_edp_backlight_probe_state() Greg Kroah-Hartman (2): drm/vkms: convert to use faux_device drm/vgem/vgem_drv convert to use faux_device Heiko Stuebner (1): drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port Jared Kangas (3): Documentation: dma-buf: heaps: Fix code markup dma-buf: heaps: Parameterize heap name in __add_cma_heap() dma-buf: heaps: Give default CMA heap a fixed name Juston Li (1): gpu/trace: make TRACE_GPU_MEM configurable Luca Ceresoli (3): drm/bridge: tc358767: fix uninitialized variable regression drm/sti: hdmi: convert to devm_drm_bridge_alloc() API drm/sti: hda: convert to devm_drm_bridge_alloc() API Maarten Lankhorst (1): Merge remote-tracking branch 'drm/drm-next' into drm-misc-next Marek Szyprowski (1): drm/bridge: analogix_dp: Use devm_drm_bridge_alloc() API Matthew Brost (1): drm: Simplify drmm_alloc_ordered_workqueue return Shixiong Ou (1): fbcon: Fix outdated registered_fb reference in comment Simona Vetter (1): drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code Sunil Khatri (6): drm: move drm based debugfs funcs to drm_debugfs.c drm: add debugfs support on per client-id basis drm/amdgpu: add debugfs support for VM pagetable per client drm/amdgpu: add support of debugfs for mqd information drm/amdgpu: fix MQD debugfs undefined symbol when DEBUG_FS=n drm/amdgpu: fix the logic to validate fpriv and root bo T.J. Mercier (1): dma-buf: system_heap: No separate allocation for attachment sg_tables Tamir Duberstein (1): rust: drm: remove unnecessary imports Thierry Reding (1): drm/fbdev-client: Skip DRM clients if modesetting is absent Thomas Zimmermann (13): drm/gem-shmem: Do not map s/g table by default drm/tegra: Test for imported buffers with drm_gem_is_imported() drm/tegra: Use dma_buf from GEM object instance drm/ast: Declare helpers for POST in header drm/ast: Move Gen7+ POST code to separate source file drm/ast: Move Gen6+ POST code to separate source file drm/ast: Move Gen4+ POST code to separate source file drm/ast: Move Gen2+ and Gen1 POST code to separate source files drm/ast: Move struct ast_dramstruct to ast_post.h drm/ast: Handle known struct ast_dramstruct with helpers drm/ast: Split ast_set_def_ext_reg() by chip generation drm/ast: Gen7: Disable VGASR0[1] as on Gen4+ drm/ast: Gen7: Switch default registers to gen4+ state Tvrtko Ursulin (2): drm/sched: De-clutter drm_sched_init drm/sched: Consolidate drm_sched_rq_select_entity_rr Yumeng Fang (1): drm/rockchip: dw_hdmi: Use dev_err_probe() to simplify code Documentation/userspace-api/dma-buf-heaps.rst | 11 +- drivers/Kconfig | 2 - drivers/accel/drm_accel.c | 16 - drivers/dma-buf/heaps/Kconfig | 10 + drivers/dma-buf/heaps/cma_heap.c | 36 +- drivers/dma-buf/heaps/system_heap.c | 43 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 52 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 55 + drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 1 + drivers/gpu/drm/ast/Makefile | 5 + drivers/gpu/drm/ast/ast_2000.c | 149 ++ drivers/gpu/drm/ast/ast_2100.c | 348 ++++ drivers/gpu/drm/ast/ast_2300.c | 1328 +++++++++++++ drivers/gpu/drm/ast/ast_2500.c | 569 ++++++ drivers/gpu/drm/ast/ast_2600.c | 44 + drivers/gpu/drm/ast/ast_dram_tables.h | 207 -- drivers/gpu/drm/ast/ast_drv.c | 4 +- drivers/gpu/drm/ast/ast_drv.h | 17 +- drivers/gpu/drm/ast/ast_post.c | 2027 +------------------- drivers/gpu/drm/ast/ast_post.h | 50 + drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 6 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 40 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 3 +- drivers/gpu/drm/bridge/tc358767.c | 1 + drivers/gpu/drm/clients/drm_client_setup.c | 5 + drivers/gpu/drm/display/drm_dp_helper.c | 14 +- drivers/gpu/drm/display/drm_hdmi_cec_helper.c | 2 +- drivers/gpu/drm/drm_debugfs.c | 118 +- drivers/gpu/drm/drm_drv.c | 16 +- drivers/gpu/drm/drm_file.c | 11 + drivers/gpu/drm/drm_internal.h | 6 +- drivers/gpu/drm/drm_panic_qr.rs | 2 +- drivers/gpu/drm/imagination/pvr_power.c | 59 +- drivers/gpu/drm/panthor/panthor_gem.c | 31 +- drivers/gpu/drm/panthor/panthor_gem.h | 3 - drivers/gpu/drm/rockchip/cdn-dp-core.c | 291 ++- drivers/gpu/drm/rockchip/cdn-dp-core.h | 8 +- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 452 ++++- drivers/gpu/drm/rockchip/inno_hdmi.h | 349 ---- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 29 +- drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 33 + drivers/gpu/drm/rockchip/rockchip_lvds.c | 68 +- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 89 +- drivers/gpu/drm/scheduler/sched_main.c | 81 +- drivers/gpu/drm/sti/sti_hda.c | 27 +- drivers/gpu/drm/sti/sti_hdmi.c | 26 +- drivers/gpu/drm/sti/sti_hdmi.h | 2 + drivers/gpu/drm/tegra/gem.c | 4 +- drivers/gpu/drm/udl/udl_drv.c | 2 +- drivers/gpu/drm/vgem/vgem_drv.c | 30 +- drivers/gpu/drm/vkms/vkms_crtc.c | 2 - drivers/gpu/drm/vkms/vkms_drv.c | 28 +- drivers/gpu/drm/vkms/vkms_drv.h | 4 +- drivers/gpu/trace/Kconfig | 11 +- drivers/video/Kconfig | 2 + drivers/video/fbdev/core/fbcon.c | 4 +- include/drm/drm_accel.h | 5 - include/drm/drm_bridge.h | 2 +- include/drm/drm_debugfs.h | 11 + include/drm/drm_drv.h | 19 +- include/drm/drm_file.h | 7 + include/drm/drm_gem_shmem_helper.h | 18 +- include/drm/drm_managed.h | 15 +- rust/kernel/drm/driver.rs | 1 - 67 files changed, 3761 insertions(+), 3169 deletions(-) create mode 100644 drivers/gpu/drm/ast/ast_2000.c create mode 100644 drivers/gpu/drm/ast/ast_2100.c create mode 100644 drivers/gpu/drm/ast/ast_2300.c create mode 100644 drivers/gpu/drm/ast/ast_2500.c create mode 100644 drivers/gpu/drm/ast/ast_2600.c delete mode 100644 drivers/gpu/drm/ast/ast_dram_tables.h create mode 100644 drivers/gpu/drm/ast/ast_post.h delete mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: not available URL: From rodrigo.vivi at intel.com Thu Jul 10 22:16:55 2025 From: rodrigo.vivi at intel.com (Rodrigo Vivi) Date: Thu, 10 Jul 2025 18:16:55 -0400 Subject: [PULL] drm-xe-next Message-ID: Hi Dave and Sima, Here goes our drm-xe-next towards 6.17. I'm still considering an extra small one in the beginning of next week if possible. Before going to the details of what this pull request contains, I'd like to say that I had to bypass the new dim rule that checks for proper Acks in the patches. But only because they are in the DRM subsystem for the restructure of migration in preparation for multi-device. I hope this is okay by you, but please let me know if I should remove the patches and resend. Here are the patches without DRM ack from you: ccfb15b8158c ("drm/xe/bmg: Add one additional PCI ID"): Mandatory Maintainer Acked-by missing. b58701687831 ("drm/xe: Implement and use the drm_pagemap populate_mm op"): Mandatory Maintainer Acked-by missing. 2ef19be2a545 ("drm/pagemap: Add a populate_mm op"): Mandatory Maintainer Acked-by missing. f86ad0ed620c ("drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap"): Mandatory Maintainer Acked-by missing. Regarding the changes itself, please notice that this pull request includes some cross-subsystem patches for both MTD and i2c, but all with the proper Acks in place. They are needed for BMG features. As for the other Xe highlights, we have a new platform (WildCat Lake), the removal of the force_probe protection for Panther Lake, new GuC version, and a lot of SRIOV enabling work, specially targeting enabling it soon on BMG. Thanks, Rodrigo. drm-xe-next-2025-07-10: UAPI Changes: - Documentation fixes (Shuicheng) Cross-subsystem Changes: - MTD intel-dg driver for dgfx non-volatile memory device (Sasha) - i2c: designware changes to allow i2c integration with BMG (Heikki) Core Changes: - Restructure migration in preparation for multi-device (Brost, Thomas) - Expose fan control and voltage regulator version on sysfs (Raag) Driver Changes: - Add WildCat Lake support (Roper) - Add aux bus child device driver for NVM on DGFX (Sasha) - Some refactor and fixes to allow cleaner BMG w/a (Lucas, Maarten, Auld) - BMG w/a (Vinay) - Improve handling of aborted probe (Michal) - Do not wedge device on killed exec queues (Brost) - Init changes for flicker-free boot (Maarten) - Fix out-of-bounds field write in MI_STORE_DATA_IMM (Jia) - Enable the GuC Dynamic Inhibit Context Switch optimization (Daniele) - Drop bo->size (Brost) - Builds and KConfig fixes (Harry, Maarten) - Consolidate LRC offset calculations (Tvrtko) - Fix potential leak in hw_engine_group (Michal) - Future-proof for multi-tile + multi-GT cases (Roper) - Validate gt in pmu event (Riana) - SRIOV PF: Clear all LMTT pages on alloc (Michal) - Allocate PF queue size on pow2 boundary (Brost) - SRIOV VF: Make multi-GT migration less error prone (Tomasz) - Revert indirect ring state patch to fix random LRC context switches failures (Brost) - Fix compressed VRAM handling (Auld) - Add one additional BMG PCI ID (Ravi) - Recommend GuC v70.46.2 for BMG, LNL, DG2 (Julia) - Add GuC and HuC to PTL (Daniele) - Drop PTL force_probe requirement (Atwood) - Fix error flow in display suspend (Shuicheng) - Disable GuC communication on hardware initialization error (Zhanjun) - Devcoredump fixes and clean up (Shuicheng) - SRIOV PF: Downgrade some info to debug (Michal) - Don't allocate temporary GuC policies object (Michal) - Support for I2C attached MCUs (Heikki, Raag, Riana) - Add GPU memory bo trace points (Juston) - SRIOV VF: Skip some W/a (Michal) - Correct comment of xe_pm_set_vram_threshold (Shuicheng) - Cancel ongoing H2G requests when stopping CT (Michal) The following changes since commit 36c52fb703e90388285963fc8f03cf60f76cbe4c: Merge tag 'drm-intel-next-2025-06-18' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2025-06-23 10:49:27 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2025-07-10 for you to fetch changes up to 94de94d24ea8cf567ec7254a723c3192c72c2ca6: drm/xe/guc: Cancel ongoing H2G requests when stopping CT (2025-07-10 21:46:29 +0200) ---------------------------------------------------------------- UAPI Changes: - Documentation fixes (Shuicheng) Cross-subsystem Changes: - MTD intel-dg driver for dgfx non-volatile memory device (Sasha) - i2c: designware changes to allow i2c integration with BMG (Heikki) Core Changes: - Restructure migration in preparation for multi-device (Brost, Thomas) - Expose fan control and voltage regulator version on sysfs (Raag) Driver Changes: - Add WildCat Lake support (Roper) - Add aux bus child device driver for NVM on DGFX (Sasha) - Some refactor and fixes to allow cleaner BMG w/a (Lucas, Maarten, Auld) - BMG w/a (Vinay) - Improve handling of aborted probe (Michal) - Do not wedge device on killed exec queues (Brost) - Init changes for flicker-free boot (Maarten) - Fix out-of-bounds field write in MI_STORE_DATA_IMM (Jia) - Enable the GuC Dynamic Inhibit Context Switch optimization (Daniele) - Drop bo->size (Brost) - Builds and KConfig fixes (Harry, Maarten) - Consolidate LRC offset calculations (Tvrtko) - Fix potential leak in hw_engine_group (Michal) - Future-proof for multi-tile + multi-GT cases (Roper) - Validate gt in pmu event (Riana) - SRIOV PF: Clear all LMTT pages on alloc (Michal) - Allocate PF queue size on pow2 boundary (Brost) - SRIOV VF: Make multi-GT migration less error prone (Tomasz) - Revert indirect ring state patch to fix random LRC context switches failures (Brost) - Fix compressed VRAM handling (Auld) - Add one additional BMG PCI ID (Ravi) - Recommend GuC v70.46.2 for BMG, LNL, DG2 (Julia) - Add GuC and HuC to PTL (Daniele) - Drop PTL force_probe requirement (Atwood) - Fix error flow in display suspend (Shuicheng) - Disable GuC communication on hardware initialization error (Zhanjun) - Devcoredump fixes and clean up (Shuicheng) - SRIOV PF: Downgrade some info to debug (Michal) - Don't allocate temporary GuC policies object (Michal) - Support for I2C attached MCUs (Heikki, Raag, Riana) - Add GPU memory bo trace points (Juston) - SRIOV VF: Skip some W/a (Michal) - Correct comment of xe_pm_set_vram_threshold (Shuicheng) - Cancel ongoing H2G requests when stopping CT (Michal) ---------------------------------------------------------------- Alexander Usyskin (7): mtd: add driver for intel graphics non-volatile memory device mtd: intel-dg: implement region enumeration mtd: intel-dg: implement access functions mtd: intel-dg: register with mtd mtd: intel-dg: align 64bit read and write drm/xe/nvm: add on-die non-volatile memory device drm/xe/nvm: add support for access mode Daniele Ceraolo Spurio (5): Revert "drm/xe/ptl: Apply Wa_16026007364" drm/xe/guc: Enable extended CAT error reporting drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization drm/xe/ptl: Add GuC FW definition for PTL drm/xe/ptl: Add HuC FW definition for PTL Harry Austen (1): drm/xe: Allow dropping kunit dependency as built-in Heikki Krogerus (3): i2c: designware: Use polling by default when there is no irq resource i2c: designware: Add quirk for Intel Xe drm/xe: Support for I2C attached MCUs Jia Yao (1): drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM Julia Filipchuk (1): drm/xe/guc: Recommend GuC v70.46.2 for BMG, LNL, DG2 Juston Li (1): drm/xe/bo: add GPU memory trace points Lucas De Marchi (3): drm/xe/guc_pc: Add _locked variant for min/max freq drm/xe/xe_guc_pc: Lock once to update stashed frequencies drm/xe: Split xe_device_td_flush() Maarten Lankhorst (13): drm/xe: Move DSB l2 flush to a more sensible place drm/xe: Defer memirq init until needed drm/xe/sriov: Move VF bootstrap and query_config to vf_guc_init drm/xe: Simplify GuC early initialization drm/xe: Make it possible to read instance0 MCR registers after xe_gt_mcr_init_early drm/xe: Only dump PAT when xe_hw_engines_init_early fails drm/xe: Rename gt_init sub-functions drm/xe: Split init of xe_gt_init_hwconfig to xe_gt_init and *_early drm/xe: Move xe_ttm_sys_mgr_init() downwards. drm/xe: Remove xe_uc_init_hwconfig() drm/xe: Remove xe_uc_fini_hw drm/xe: Rename xe_uc_init_hw to xe_uc_load_hw drm/xe: Fix typo in Kconfig Matt Atwood (1): drm/xe/ptl: Drop force_probe requirement Matt Roper (9): drm/xe/xe3: Add support for graphics IP version 30.03 drm/xe/xe3: Add support for media IP version 30.02 drm/xe: Add Wildcat Lake device IDs to PTL list drm/xe: Export xe_step_name for kunit tests drm/xe: Track maximum GTs per tile on a per-platform basis drm/xe/tests/pci: Ensure all platforms have a valid GT/tile count drm/xe: Assign GT IDs properly on multi-tile + multi-GT platforms drm/xe: Don't compare GT ID to GT count when determining valid GTs drm/xe/xe_query: Use separate iterator while filling GT list Matthew Auld (2): drm/xe: move DPT l2 flush to a more sensible place drm/xe/bmg: fix compressed VRAM handling Matthew Brost (5): drm/xe: Do not wedge device on killed exec queues drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap drm/xe: Drop bo->size drm/xe: Allocate PF queue size on pow2 boundary Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2" Michal Wajdeczko (11): drm/xe: Process deferred GGTT node removals on device unwind drm/xe/guc: Explicitly exit CT safe mode on unwind drm/xe/hw_engine_group: Fix potential leak drm/xe/pf: Clear all LMTT pages on alloc drm/xe/pf: Print runtime registers using debug printer drm/xe/pf: Print configuration KLVs using debug printer drm/xe/guc: Don't allocate temporary policies object drm/xe/bmg: Don't use WA 16023588340 and 22019338487 on VF drm/xe/guc: Rename CT state change helper drm/xe/guc: Move state change logger to helper drm/xe/guc: Cancel ongoing H2G requests when stopping CT Raag Jadav (2): drm/xe: Expose fan control and voltage regulator version drm/xe/pm: Wire up suspend/resume for I2C controller Reuven Abliyev (1): drm/xe/nvm: add support for non-posted erase Riana Tauro (2): drm/xe/xe_pmu: Validate gt in event supported drm/xe/xe_i2c: Add support for i2c in survivability mode Rodrigo Vivi (1): Merge drm/drm-next into drm-xe-next Shuicheng Lin (5): drm/xe/uapi: Correct sync type definition in comments drm/xe/pm: Restore display pm if there is error after display suspend drm/xe: Remove unused code in devcoredump_snapshot() drm/xe: Release runtime pm for error path of xe_devcoredump_read() drm/xe/pm: Correct comment of xe_pm_set_vram_threshold() Thomas Hellstr?m (2): drm/pagemap: Add a populate_mm op drm/xe: Implement and use the drm_pagemap populate_mm op Tomasz Lis (1): drm/xe/vf: Make multi-GT migration less error prone Tvrtko Ursulin (1): drm/xe: Consolidate LRC offset calculations Vinay Belgaumkar (1): drm/xe/bmg: Update Wa_22019338487 Vodapalli, Ravi Kumar (1): drm/xe/bmg: Add one additional PCI ID Zhanjun Dong (1): drm/xe/uc: Disable GuC communication on hardware initialization error sanirban (1): drm/xe/ptl: Apply Wa_16026007364 Documentation/gpu/rfc/gpusvm.rst | 12 +- MAINTAINERS | 7 + drivers/gpu/drm/Makefile | 6 +- drivers/gpu/drm/drm_gpusvm.c | 762 +------------------------ drivers/gpu/drm/drm_pagemap.c | 838 ++++++++++++++++++++++++++++ drivers/gpu/drm/xe/Kconfig | 16 +- drivers/gpu/drm/xe/Makefile | 2 + drivers/gpu/drm/xe/abi/guc_actions_abi.h | 4 + drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 28 + drivers/gpu/drm/xe/display/xe_dsb_buffer.c | 11 +- drivers/gpu/drm/xe/display/xe_fb_pin.c | 7 +- drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 2 +- drivers/gpu/drm/xe/regs/xe_gsc_regs.h | 4 + drivers/gpu/drm/xe/regs/xe_i2c_regs.h | 20 + drivers/gpu/drm/xe/regs/xe_irq_regs.h | 1 + drivers/gpu/drm/xe/regs/xe_pmt.h | 2 +- drivers/gpu/drm/xe/regs/xe_regs.h | 2 + drivers/gpu/drm/xe/tests/xe_bo.c | 2 +- drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 4 +- drivers/gpu/drm/xe/tests/xe_migrate.c | 52 +- drivers/gpu/drm/xe/tests/xe_pci.c | 31 + drivers/gpu/drm/xe/tests/xe_pci_test.c | 12 + drivers/gpu/drm/xe/tests/xe_pci_test.h | 1 + drivers/gpu/drm/xe/xe_bo.c | 37 +- drivers/gpu/drm/xe/xe_bo.h | 17 +- drivers/gpu/drm/xe/xe_bo_types.h | 4 +- drivers/gpu/drm/xe/xe_devcoredump.c | 50 +- drivers/gpu/drm/xe/xe_device.c | 121 ++-- drivers/gpu/drm/xe/xe_device.h | 47 +- drivers/gpu/drm/xe/xe_device_sysfs.c | 143 ++++- drivers/gpu/drm/xe/xe_device_types.h | 22 +- drivers/gpu/drm/xe/xe_drm_client.c | 2 +- drivers/gpu/drm/xe/xe_eu_stall.c | 6 +- drivers/gpu/drm/xe/xe_exec_queue.c | 2 +- drivers/gpu/drm/xe/xe_ggtt.c | 25 +- drivers/gpu/drm/xe/xe_gsc.c | 6 +- drivers/gpu/drm/xe/xe_gt.c | 80 ++- drivers/gpu/drm/xe/xe_gt.h | 1 - drivers/gpu/drm/xe/xe_gt_mcr.c | 47 +- drivers/gpu/drm/xe/xe_gt_pagefault.c | 1 + drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 26 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 2 +- drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 - drivers/gpu/drm/xe/xe_gt_types.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 147 ++++- drivers/gpu/drm/xe/xe_guc.h | 2 + drivers/gpu/drm/xe/xe_guc_ads.c | 31 +- drivers/gpu/drm/xe/xe_guc_ct.c | 81 ++- drivers/gpu/drm/xe/xe_guc_ct.h | 1 + drivers/gpu/drm/xe/xe_guc_log.c | 2 +- drivers/gpu/drm/xe/xe_guc_pc.c | 283 +++++++--- drivers/gpu/drm/xe/xe_guc_pc.h | 2 + drivers/gpu/drm/xe/xe_guc_pc_types.h | 2 + drivers/gpu/drm/xe/xe_guc_submit.c | 31 +- drivers/gpu/drm/xe/xe_heci_gsc.c | 5 +- drivers/gpu/drm/xe/xe_huc.c | 2 +- drivers/gpu/drm/xe/xe_hw_engine.c | 3 +- drivers/gpu/drm/xe/xe_hw_engine_group.c | 19 +- drivers/gpu/drm/xe/xe_i2c.c | 329 +++++++++++ drivers/gpu/drm/xe/xe_i2c.h | 62 ++ drivers/gpu/drm/xe/xe_irq.c | 2 + drivers/gpu/drm/xe/xe_lmtt.c | 15 +- drivers/gpu/drm/xe/xe_lrc.c | 41 +- drivers/gpu/drm/xe/xe_lrc_types.h | 2 +- drivers/gpu/drm/xe/xe_migrate.c | 50 +- drivers/gpu/drm/xe/xe_mmio.c | 16 +- drivers/gpu/drm/xe/xe_nvm.c | 167 ++++++ drivers/gpu/drm/xe/xe_nvm.h | 15 + drivers/gpu/drm/xe/xe_oa.c | 10 +- drivers/gpu/drm/xe/xe_pci.c | 77 +-- drivers/gpu/drm/xe/xe_pci_types.h | 41 ++ drivers/gpu/drm/xe/xe_pcode_api.h | 15 + drivers/gpu/drm/xe/xe_pm.c | 20 +- drivers/gpu/drm/xe/xe_pmu.c | 7 +- drivers/gpu/drm/xe/xe_query.c | 29 +- drivers/gpu/drm/xe/xe_sriov_vf.c | 195 +++---- drivers/gpu/drm/xe/xe_step.c | 2 + drivers/gpu/drm/xe/xe_survivability_mode.c | 19 +- drivers/gpu/drm/xe/xe_svm.c | 125 +++-- drivers/gpu/drm/xe/xe_svm.h | 10 +- drivers/gpu/drm/xe/xe_tile.c | 7 + drivers/gpu/drm/xe/xe_tile.h | 11 + drivers/gpu/drm/xe/xe_trace_bo.h | 4 +- drivers/gpu/drm/xe/xe_uc.c | 78 +-- drivers/gpu/drm/xe/xe_uc.h | 5 +- drivers/gpu/drm/xe/xe_uc_fw.c | 8 +- drivers/gpu/drm/xe/xe_vm.c | 8 +- drivers/gpu/drm/xe/xe_wa.c | 16 + drivers/gpu/drm/xe/xe_wa_oob.rules | 10 +- drivers/i2c/busses/i2c-designware-platdrv.c | 18 +- drivers/mtd/devices/Kconfig | 11 + drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/mtd_intel_dg.c | 830 +++++++++++++++++++++++++++ include/drm/drm_gpusvm.h | 96 ---- include/drm/drm_pagemap.h | 135 +++++ include/drm/intel/pciids.h | 5 +- include/linux/intel_dg_nvm_aux.h | 32 ++ include/uapi/drm/xe_drm.h | 8 +- 98 files changed, 3981 insertions(+), 1630 deletions(-) create mode 100644 drivers/gpu/drm/drm_pagemap.c create mode 100644 drivers/gpu/drm/xe/regs/xe_i2c_regs.h create mode 100644 drivers/gpu/drm/xe/xe_i2c.c create mode 100644 drivers/gpu/drm/xe/xe_i2c.h create mode 100644 drivers/gpu/drm/xe/xe_nvm.c create mode 100644 drivers/gpu/drm/xe/xe_nvm.h create mode 100644 drivers/mtd/devices/mtd_intel_dg.c create mode 100644 include/linux/intel_dg_nvm_aux.h From rodrigo.vivi at intel.com Thu Jul 10 22:28:58 2025 From: rodrigo.vivi at intel.com (Rodrigo Vivi) Date: Thu, 10 Jul 2025 18:28:58 -0400 Subject: [PULL] drm-intel-next Message-ID: Hi Dave and Sima, Here goes the last drm-intel-next towards 6.17. I'm covering for Jani here, but in the end we got just one patch that is a fix, but let's push that soon anyway and minimize the -next-fixes round. Thanks, Rodrigo. drm-intel-next-2025-07-10: Driver Changes: - DSI panel's version 2 mipi-sequences fix (Hans) The following changes since commit d6a59ee852758bc69c4cc821954db277a2bd5b93: drm/ttm: Remove unneeded blank line in comment (2025-07-02 13:31:20 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-next-2025-07-10 for you to fetch changes up to 11895f375939d60efe7ed5dddc1cffe2e79f976c: drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too (2025-07-10 11:30:32 -0400) ---------------------------------------------------------------- Driver Changes: - DSI panel's version 2 mipi-sequences fix (Hans) ---------------------------------------------------------------- Hans de Goede (1): drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too drivers/gpu/drm/i915/display/intel_bios.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) From rodrigo.vivi at intel.com Thu Jul 10 22:32:25 2025 From: rodrigo.vivi at intel.com (Rodrigo Vivi) Date: Thu, 10 Jul 2025 18:32:25 -0400 Subject: [PULL] drm-intel-fixes Message-ID: Hi Dave and Sima, Here goes the drm-intel-fixes of this week as I'm covering for Joonas here. Also, only the single DSI fix from Hans. Thanks, Rodrigo. drm-intel-fixes-2025-07-10: Short summary of fixes: - DSI panel's version 2 mipi-sequences fix (Hans) The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a: Linux 6.16-rc5 (2025-07-06 14:10:26 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-fixes-2025-07-10 for you to fetch changes up to e778689390c71462a099b5d6e56d71c316486184: drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too (2025-07-10 11:35:20 -0400) ---------------------------------------------------------------- Short summary of fixes: - DSI panel's version 2 mipi-sequences fix (Hans) ---------------------------------------------------------------- Hans de Goede (1): drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too drivers/gpu/drm/i915/display/intel_bios.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) From lucas.demarchi at intel.com Fri Jul 11 05:17:53 2025 From: lucas.demarchi at intel.com (Lucas De Marchi) Date: Fri, 11 Jul 2025 00:17:53 -0500 Subject: [PULL] drm-xe-fixes Message-ID: Hi Dave and Sima, Here is the drm-xe-fixes pull request for 6.16-rc5. By number of commits, still on the big side, but they are mostly small ones spread theough the driver. drm-xe-fixes-2025-07-11: Driver Changes: - Clear LMTT page to avoid leaking data from one VF to another - Align PF queue size to power of 2 - Disable Indirect Ring State to avoid intermittent issues on context switch: feature is not currently needed, so can be disabled for now. - Fix compression handling when the BO pages are very fragmented - Restore display pm on error path - Fix runtime pm handling in xe devcoredump - Fix xe_pm_set_vram_threshold() doc - Recommend new minor versions of GuC firmware - Drop some workarounds on VF - Do not use verbose GuC logging by default: it should be only for debugging thanks, Lucas De Marchi The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a: Linux 6.16-rc5 (2025-07-06 14:10:26 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2025-07-11 for you to fetch changes up to 74806f69b8668ea0e98cd9d461b7803ffa1fcdf3: drm/xe/guc: Default log level to non-verbose (2025-07-10 20:59:39 -0700) ---------------------------------------------------------------- Driver Changes: - Clear LMTT page to avoid leaking data from one VF to another - Align PF queue size to power of 2 - Disable Indirect Ring State to avoid intermittent issues on context switch: feature is not currently needed, so can be disabled for now. - Fix compression handling when the BO pages are very fragmented - Restore display pm on error path - Fix runtime pm handling in xe devcoredump - Fix xe_pm_set_vram_threshold() doc - Recommend new minor versions of GuC firmware - Drop some workarounds on VF - Do not use verbose GuC logging by default: it should be only for debugging ---------------------------------------------------------------- Julia Filipchuk (1): drm/xe/guc: Recommend GuC v70.46.2 for BMG, LNL, DG2 Lucas De Marchi (1): drm/xe/guc: Default log level to non-verbose Matthew Auld (1): drm/xe/bmg: fix compressed VRAM handling Matthew Brost (2): drm/xe: Allocate PF queue size on pow2 boundary Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2" Michal Wajdeczko (2): drm/xe/pf: Clear all LMTT pages on alloc drm/xe/bmg: Don't use WA 16023588340 and 22019338487 on VF Shuicheng Lin (3): drm/xe/pm: Restore display pm if there is error after display suspend drm/xe: Release runtime pm for error path of xe_devcoredump_read() drm/xe/pm: Correct comment of xe_pm_set_vram_threshold() drivers/gpu/drm/xe/xe_devcoredump.c | 38 ++++++++++++++++++++++++++---------- drivers/gpu/drm/xe/xe_gt_pagefault.c | 1 + drivers/gpu/drm/xe/xe_lmtt.c | 11 +++++++++++ drivers/gpu/drm/xe/xe_migrate.c | 2 +- drivers/gpu/drm/xe/xe_module.c | 2 +- drivers/gpu/drm/xe/xe_pci.c | 1 - drivers/gpu/drm/xe/xe_pm.c | 11 ++++++----- drivers/gpu/drm/xe/xe_uc_fw.c | 6 +++--- drivers/gpu/drm/xe/xe_wa_oob.rules | 4 ++-- 9 files changed, 53 insertions(+), 23 deletions(-) From simona.vetter at ffwll.ch Fri Jul 11 09:08:35 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Fri, 11 Jul 2025 11:08:35 +0200 Subject: [PULL] drm-misc-next In-Reply-To: <20250710-observant-elite-dingo-acfd6d@houat> References: <20250710-observant-elite-dingo-acfd6d@houat> Message-ID: On Thu, Jul 10, 2025 at 12:06:19PM +0200, Maxime Ripard wrote: > Hi Dave, Sima, > > Here's this week drm-misc-next PR. It's likely to be the last PR for > this release cycle. > > Maxime > > drm-misc-next-2025-07-10: > drm-misc-next for 6.17: > > UAPI Changes: > > Cross-subsystem Changes: > > Core Changes: > > Driver Changes: > - amdgpu: debugfs improvements > - ast: Improve hardware generations implementation > - dma-buf heaps: > - Give the CMA heap a stable name > - panthor: fix UAF in debugfs > - rockchip: Convert inno_hdmi to a bridge > - sti: Convert to devm_drm_bridge_alloc() > - vkms: Use faux_device > > - bridge: > - Improve CEC handling code, convertions to devm_drm_bridge_alloc() > The following changes since commit 203dcde881561f1a4ee1084e2ee438fb4522c94a: > > Merge tag 'drm-msm-next-2025-07-05' of https://gitlab.freedesktop.org/drm/msm into drm-next (2025-07-08 14:31:19 +0200) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2025-07-10 Pulled into drm-next, thanks! -Sima > > for you to fetch changes up to fe69a391808404977b1f002a6e7447de3de7a88e: > > drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code (2025-07-10 10:16:50 +0100) > > ---------------------------------------------------------------- > drm-misc-next for 6.17: > > UAPI Changes: > > Cross-subsystem Changes: > > Core Changes: > > Driver Changes: > - amdgpu: debugfs improvements > - ast: Improve hardware generations implementation > - dma-buf heaps: > - Give the CMA heap a stable name > - panthor: fix UAF in debugfs > - rockchip: Convert inno_hdmi to a bridge > - sti: Convert to devm_drm_bridge_alloc() > - vkms: Use faux_device > > - bridge: > - Improve CEC handling code, convertions to devm_drm_bridge_alloc() > > ---------------------------------------------------------------- > Alessio Belle (1): > drm/imagination: Clear runtime PM errors while resetting the GPU > > Andy Yan (9): > drm/rockchip: inno_hdmi: Merge register definition to c file > drm/rockchip: inno_hdmi: Refactor register macros to make checkpatch happy > drm/rockchip: inno_hdmi: Remove unnecessary parentheses to make checkpatch happy > drm/rockchip: inno_hdmi: Rename function inno_hdmi_reset to inno_hdmi_init_hw > drm/rockchip: inno_hdmi: Move ddc/i2c configuration and HOTPLUG unmute to inno_hdmi_init_hw > drm/rockchip: inno_hdmi: Use sleep_range instead of udelay > drm/rockchip: inno_hdmi: switch i2c registration to devm functions > drm/rockchip: inno_hdmi: Simpify clk get/enable by devm_clk_get_enabled api > drm/rockchip: vop2: Fix the update of LAYER/PORT select registers when there are multi display output on rk3588/rk3568 > > Chaoyi Chen (2): > drm/rockchip: lvds: Convert to drm bridge > drm/rockchip: cdn-dp: Convert to drm bridge > > Cristian Ciocaltea (3): > drm/display: hdmi-cec-helper: Fix adapter unregistration > drm/bridge: Fix kdoc comment for DRM_BRIDGE_OP_HDMI_CEC_ADAPTER > drm/bridge: adv7511: Fix DRM_BRIDGE_OP_HDMI_{AUDIO|CEC_ADAPTER} setup > > Dan Carpenter (1): > drm/dp: Clean up white space in drm_edp_backlight_probe_state() > > Greg Kroah-Hartman (2): > drm/vkms: convert to use faux_device > drm/vgem/vgem_drv convert to use faux_device > > Heiko Stuebner (1): > drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port > > Jared Kangas (3): > Documentation: dma-buf: heaps: Fix code markup > dma-buf: heaps: Parameterize heap name in __add_cma_heap() > dma-buf: heaps: Give default CMA heap a fixed name > > Juston Li (1): > gpu/trace: make TRACE_GPU_MEM configurable > > Luca Ceresoli (3): > drm/bridge: tc358767: fix uninitialized variable regression > drm/sti: hdmi: convert to devm_drm_bridge_alloc() API > drm/sti: hda: convert to devm_drm_bridge_alloc() API > > Maarten Lankhorst (1): > Merge remote-tracking branch 'drm/drm-next' into drm-misc-next > > Marek Szyprowski (1): > drm/bridge: analogix_dp: Use devm_drm_bridge_alloc() API > > Matthew Brost (1): > drm: Simplify drmm_alloc_ordered_workqueue return > > Shixiong Ou (1): > fbcon: Fix outdated registered_fb reference in comment > > Simona Vetter (1): > drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code > > Sunil Khatri (6): > drm: move drm based debugfs funcs to drm_debugfs.c > drm: add debugfs support on per client-id basis > drm/amdgpu: add debugfs support for VM pagetable per client > drm/amdgpu: add support of debugfs for mqd information > drm/amdgpu: fix MQD debugfs undefined symbol when DEBUG_FS=n > drm/amdgpu: fix the logic to validate fpriv and root bo > > T.J. Mercier (1): > dma-buf: system_heap: No separate allocation for attachment sg_tables > > Tamir Duberstein (1): > rust: drm: remove unnecessary imports > > Thierry Reding (1): > drm/fbdev-client: Skip DRM clients if modesetting is absent > > Thomas Zimmermann (13): > drm/gem-shmem: Do not map s/g table by default > drm/tegra: Test for imported buffers with drm_gem_is_imported() > drm/tegra: Use dma_buf from GEM object instance > drm/ast: Declare helpers for POST in header > drm/ast: Move Gen7+ POST code to separate source file > drm/ast: Move Gen6+ POST code to separate source file > drm/ast: Move Gen4+ POST code to separate source file > drm/ast: Move Gen2+ and Gen1 POST code to separate source files > drm/ast: Move struct ast_dramstruct to ast_post.h > drm/ast: Handle known struct ast_dramstruct with helpers > drm/ast: Split ast_set_def_ext_reg() by chip generation > drm/ast: Gen7: Disable VGASR0[1] as on Gen4+ > drm/ast: Gen7: Switch default registers to gen4+ state > > Tvrtko Ursulin (2): > drm/sched: De-clutter drm_sched_init > drm/sched: Consolidate drm_sched_rq_select_entity_rr > > Yumeng Fang (1): > drm/rockchip: dw_hdmi: Use dev_err_probe() to simplify code > > Documentation/userspace-api/dma-buf-heaps.rst | 11 +- > drivers/Kconfig | 2 - > drivers/accel/drm_accel.c | 16 - > drivers/dma-buf/heaps/Kconfig | 10 + > drivers/dma-buf/heaps/cma_heap.c | 36 +- > drivers/dma-buf/heaps/system_heap.c | 43 +- > drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 52 + > drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 1 + > drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 + > drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 55 + > drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 1 + > drivers/gpu/drm/ast/Makefile | 5 + > drivers/gpu/drm/ast/ast_2000.c | 149 ++ > drivers/gpu/drm/ast/ast_2100.c | 348 ++++ > drivers/gpu/drm/ast/ast_2300.c | 1328 +++++++++++++ > drivers/gpu/drm/ast/ast_2500.c | 569 ++++++ > drivers/gpu/drm/ast/ast_2600.c | 44 + > drivers/gpu/drm/ast/ast_dram_tables.h | 207 -- > drivers/gpu/drm/ast/ast_drv.c | 4 +- > drivers/gpu/drm/ast/ast_drv.h | 17 +- > drivers/gpu/drm/ast/ast_post.c | 2027 +------------------- > drivers/gpu/drm/ast/ast_post.h | 50 + > drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 6 +- > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 40 +- > drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 3 +- > drivers/gpu/drm/bridge/tc358767.c | 1 + > drivers/gpu/drm/clients/drm_client_setup.c | 5 + > drivers/gpu/drm/display/drm_dp_helper.c | 14 +- > drivers/gpu/drm/display/drm_hdmi_cec_helper.c | 2 +- > drivers/gpu/drm/drm_debugfs.c | 118 +- > drivers/gpu/drm/drm_drv.c | 16 +- > drivers/gpu/drm/drm_file.c | 11 + > drivers/gpu/drm/drm_internal.h | 6 +- > drivers/gpu/drm/drm_panic_qr.rs | 2 +- > drivers/gpu/drm/imagination/pvr_power.c | 59 +- > drivers/gpu/drm/panthor/panthor_gem.c | 31 +- > drivers/gpu/drm/panthor/panthor_gem.h | 3 - > drivers/gpu/drm/rockchip/cdn-dp-core.c | 291 ++- > drivers/gpu/drm/rockchip/cdn-dp-core.h | 8 +- > drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 +- > drivers/gpu/drm/rockchip/inno_hdmi.c | 452 ++++- > drivers/gpu/drm/rockchip/inno_hdmi.h | 349 ---- > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 29 +- > drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 33 + > drivers/gpu/drm/rockchip/rockchip_lvds.c | 68 +- > drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 89 +- > drivers/gpu/drm/scheduler/sched_main.c | 81 +- > drivers/gpu/drm/sti/sti_hda.c | 27 +- > drivers/gpu/drm/sti/sti_hdmi.c | 26 +- > drivers/gpu/drm/sti/sti_hdmi.h | 2 + > drivers/gpu/drm/tegra/gem.c | 4 +- > drivers/gpu/drm/udl/udl_drv.c | 2 +- > drivers/gpu/drm/vgem/vgem_drv.c | 30 +- > drivers/gpu/drm/vkms/vkms_crtc.c | 2 - > drivers/gpu/drm/vkms/vkms_drv.c | 28 +- > drivers/gpu/drm/vkms/vkms_drv.h | 4 +- > drivers/gpu/trace/Kconfig | 11 +- > drivers/video/Kconfig | 2 + > drivers/video/fbdev/core/fbcon.c | 4 +- > include/drm/drm_accel.h | 5 - > include/drm/drm_bridge.h | 2 +- > include/drm/drm_debugfs.h | 11 + > include/drm/drm_drv.h | 19 +- > include/drm/drm_file.h | 7 + > include/drm/drm_gem_shmem_helper.h | 18 +- > include/drm/drm_managed.h | 15 +- > rust/kernel/drm/driver.rs | 1 - > 67 files changed, 3761 insertions(+), 3169 deletions(-) > create mode 100644 drivers/gpu/drm/ast/ast_2000.c > create mode 100644 drivers/gpu/drm/ast/ast_2100.c > create mode 100644 drivers/gpu/drm/ast/ast_2300.c > create mode 100644 drivers/gpu/drm/ast/ast_2500.c > create mode 100644 drivers/gpu/drm/ast/ast_2600.c > delete mode 100644 drivers/gpu/drm/ast/ast_dram_tables.h > create mode 100644 drivers/gpu/drm/ast/ast_post.h > delete mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.h -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From simona.vetter at ffwll.ch Fri Jul 11 09:12:08 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Fri, 11 Jul 2025 11:12:08 +0200 Subject: [PULL] drm-xe-next In-Reply-To: References: Message-ID: On Thu, Jul 10, 2025 at 06:16:55PM -0400, Rodrigo Vivi wrote: > Hi Dave and Sima, > > Here goes our drm-xe-next towards 6.17. > I'm still considering an extra small one in the beginning > of next week if possible. > > Before going to the details of what this pull request contains, > I'd like to say that I had to bypass the new dim rule that checks > for proper Acks in the patches. But only because they are in the DRM subsystem > for the restructure of migration in preparation for multi-device. I hope this > is okay by you, but please let me know if I should remove the patches and resend. > Here are the patches without DRM ack from you: > > ccfb15b8158c ("drm/xe/bmg: Add one additional PCI ID"): Mandatory Maintainer Acked-by missing. > b58701687831 ("drm/xe: Implement and use the drm_pagemap populate_mm op"): Mandatory Maintainer Acked-by missing. > 2ef19be2a545 ("drm/pagemap: Add a populate_mm op"): Mandatory Maintainer Acked-by missing. > f86ad0ed620c ("drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap"): Mandatory Maintainer Acked-by missing. > > Regarding the changes itself, please notice that this pull request includes > some cross-subsystem patches for both MTD and i2c, but all with the proper Acks > in place. They are needed for BMG features. > > As for the other Xe highlights, we have a new platform (WildCat Lake), > the removal of the force_probe protection for Panther Lake, new GuC version, > and a lot of SRIOV enabling work, specially targeting enabling it soon on BMG. > > Thanks, > Rodrigo. > > drm-xe-next-2025-07-10: > UAPI Changes: > - Documentation fixes (Shuicheng) > > Cross-subsystem Changes: > - MTD intel-dg driver for dgfx non-volatile memory device (Sasha) > - i2c: designware changes to allow i2c integration with BMG (Heikki) > > Core Changes: > - Restructure migration in preparation for multi-device (Brost, Thomas) > - Expose fan control and voltage regulator version on sysfs (Raag) > > Driver Changes: > - Add WildCat Lake support (Roper) > - Add aux bus child device driver for NVM on DGFX (Sasha) > - Some refactor and fixes to allow cleaner BMG w/a (Lucas, Maarten, Auld) > - BMG w/a (Vinay) > - Improve handling of aborted probe (Michal) > - Do not wedge device on killed exec queues (Brost) > - Init changes for flicker-free boot (Maarten) > - Fix out-of-bounds field write in MI_STORE_DATA_IMM (Jia) > - Enable the GuC Dynamic Inhibit Context Switch optimization (Daniele) > - Drop bo->size (Brost) > - Builds and KConfig fixes (Harry, Maarten) > - Consolidate LRC offset calculations (Tvrtko) > - Fix potential leak in hw_engine_group (Michal) > - Future-proof for multi-tile + multi-GT cases (Roper) > - Validate gt in pmu event (Riana) > - SRIOV PF: Clear all LMTT pages on alloc (Michal) > - Allocate PF queue size on pow2 boundary (Brost) > - SRIOV VF: Make multi-GT migration less error prone (Tomasz) > - Revert indirect ring state patch to fix random LRC context switches failures (Brost) > - Fix compressed VRAM handling (Auld) > - Add one additional BMG PCI ID (Ravi) > - Recommend GuC v70.46.2 for BMG, LNL, DG2 (Julia) > - Add GuC and HuC to PTL (Daniele) > - Drop PTL force_probe requirement (Atwood) > - Fix error flow in display suspend (Shuicheng) > - Disable GuC communication on hardware initialization error (Zhanjun) > - Devcoredump fixes and clean up (Shuicheng) > - SRIOV PF: Downgrade some info to debug (Michal) > - Don't allocate temporary GuC policies object (Michal) > - Support for I2C attached MCUs (Heikki, Raag, Riana) > - Add GPU memory bo trace points (Juston) > - SRIOV VF: Skip some W/a (Michal) > - Correct comment of xe_pm_set_vram_threshold (Shuicheng) > - Cancel ongoing H2G requests when stopping CT (Michal) > The following changes since commit 36c52fb703e90388285963fc8f03cf60f76cbe4c: > > Merge tag 'drm-intel-next-2025-06-18' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2025-06-23 10:49:27 +1000) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2025-07-10 Pulled into drm-next, thanks! -Sima > > for you to fetch changes up to 94de94d24ea8cf567ec7254a723c3192c72c2ca6: > > drm/xe/guc: Cancel ongoing H2G requests when stopping CT (2025-07-10 21:46:29 +0200) > > ---------------------------------------------------------------- > UAPI Changes: > - Documentation fixes (Shuicheng) > > Cross-subsystem Changes: > - MTD intel-dg driver for dgfx non-volatile memory device (Sasha) > - i2c: designware changes to allow i2c integration with BMG (Heikki) > > Core Changes: > - Restructure migration in preparation for multi-device (Brost, Thomas) > - Expose fan control and voltage regulator version on sysfs (Raag) > > Driver Changes: > - Add WildCat Lake support (Roper) > - Add aux bus child device driver for NVM on DGFX (Sasha) > - Some refactor and fixes to allow cleaner BMG w/a (Lucas, Maarten, Auld) > - BMG w/a (Vinay) > - Improve handling of aborted probe (Michal) > - Do not wedge device on killed exec queues (Brost) > - Init changes for flicker-free boot (Maarten) > - Fix out-of-bounds field write in MI_STORE_DATA_IMM (Jia) > - Enable the GuC Dynamic Inhibit Context Switch optimization (Daniele) > - Drop bo->size (Brost) > - Builds and KConfig fixes (Harry, Maarten) > - Consolidate LRC offset calculations (Tvrtko) > - Fix potential leak in hw_engine_group (Michal) > - Future-proof for multi-tile + multi-GT cases (Roper) > - Validate gt in pmu event (Riana) > - SRIOV PF: Clear all LMTT pages on alloc (Michal) > - Allocate PF queue size on pow2 boundary (Brost) > - SRIOV VF: Make multi-GT migration less error prone (Tomasz) > - Revert indirect ring state patch to fix random LRC context switches failures (Brost) > - Fix compressed VRAM handling (Auld) > - Add one additional BMG PCI ID (Ravi) > - Recommend GuC v70.46.2 for BMG, LNL, DG2 (Julia) > - Add GuC and HuC to PTL (Daniele) > - Drop PTL force_probe requirement (Atwood) > - Fix error flow in display suspend (Shuicheng) > - Disable GuC communication on hardware initialization error (Zhanjun) > - Devcoredump fixes and clean up (Shuicheng) > - SRIOV PF: Downgrade some info to debug (Michal) > - Don't allocate temporary GuC policies object (Michal) > - Support for I2C attached MCUs (Heikki, Raag, Riana) > - Add GPU memory bo trace points (Juston) > - SRIOV VF: Skip some W/a (Michal) > - Correct comment of xe_pm_set_vram_threshold (Shuicheng) > - Cancel ongoing H2G requests when stopping CT (Michal) > > ---------------------------------------------------------------- > Alexander Usyskin (7): > mtd: add driver for intel graphics non-volatile memory device > mtd: intel-dg: implement region enumeration > mtd: intel-dg: implement access functions > mtd: intel-dg: register with mtd > mtd: intel-dg: align 64bit read and write > drm/xe/nvm: add on-die non-volatile memory device > drm/xe/nvm: add support for access mode > > Daniele Ceraolo Spurio (5): > Revert "drm/xe/ptl: Apply Wa_16026007364" > drm/xe/guc: Enable extended CAT error reporting > drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization > drm/xe/ptl: Add GuC FW definition for PTL > drm/xe/ptl: Add HuC FW definition for PTL > > Harry Austen (1): > drm/xe: Allow dropping kunit dependency as built-in > > Heikki Krogerus (3): > i2c: designware: Use polling by default when there is no irq resource > i2c: designware: Add quirk for Intel Xe > drm/xe: Support for I2C attached MCUs > > Jia Yao (1): > drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM > > Julia Filipchuk (1): > drm/xe/guc: Recommend GuC v70.46.2 for BMG, LNL, DG2 > > Juston Li (1): > drm/xe/bo: add GPU memory trace points > > Lucas De Marchi (3): > drm/xe/guc_pc: Add _locked variant for min/max freq > drm/xe/xe_guc_pc: Lock once to update stashed frequencies > drm/xe: Split xe_device_td_flush() > > Maarten Lankhorst (13): > drm/xe: Move DSB l2 flush to a more sensible place > drm/xe: Defer memirq init until needed > drm/xe/sriov: Move VF bootstrap and query_config to vf_guc_init > drm/xe: Simplify GuC early initialization > drm/xe: Make it possible to read instance0 MCR registers after xe_gt_mcr_init_early > drm/xe: Only dump PAT when xe_hw_engines_init_early fails > drm/xe: Rename gt_init sub-functions > drm/xe: Split init of xe_gt_init_hwconfig to xe_gt_init and *_early > drm/xe: Move xe_ttm_sys_mgr_init() downwards. > drm/xe: Remove xe_uc_init_hwconfig() > drm/xe: Remove xe_uc_fini_hw > drm/xe: Rename xe_uc_init_hw to xe_uc_load_hw > drm/xe: Fix typo in Kconfig > > Matt Atwood (1): > drm/xe/ptl: Drop force_probe requirement > > Matt Roper (9): > drm/xe/xe3: Add support for graphics IP version 30.03 > drm/xe/xe3: Add support for media IP version 30.02 > drm/xe: Add Wildcat Lake device IDs to PTL list > drm/xe: Export xe_step_name for kunit tests > drm/xe: Track maximum GTs per tile on a per-platform basis > drm/xe/tests/pci: Ensure all platforms have a valid GT/tile count > drm/xe: Assign GT IDs properly on multi-tile + multi-GT platforms > drm/xe: Don't compare GT ID to GT count when determining valid GTs > drm/xe/xe_query: Use separate iterator while filling GT list > > Matthew Auld (2): > drm/xe: move DPT l2 flush to a more sensible place > drm/xe/bmg: fix compressed VRAM handling > > Matthew Brost (5): > drm/xe: Do not wedge device on killed exec queues > drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap > drm/xe: Drop bo->size > drm/xe: Allocate PF queue size on pow2 boundary > Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2" > > Michal Wajdeczko (11): > drm/xe: Process deferred GGTT node removals on device unwind > drm/xe/guc: Explicitly exit CT safe mode on unwind > drm/xe/hw_engine_group: Fix potential leak > drm/xe/pf: Clear all LMTT pages on alloc > drm/xe/pf: Print runtime registers using debug printer > drm/xe/pf: Print configuration KLVs using debug printer > drm/xe/guc: Don't allocate temporary policies object > drm/xe/bmg: Don't use WA 16023588340 and 22019338487 on VF > drm/xe/guc: Rename CT state change helper > drm/xe/guc: Move state change logger to helper > drm/xe/guc: Cancel ongoing H2G requests when stopping CT > > Raag Jadav (2): > drm/xe: Expose fan control and voltage regulator version > drm/xe/pm: Wire up suspend/resume for I2C controller > > Reuven Abliyev (1): > drm/xe/nvm: add support for non-posted erase > > Riana Tauro (2): > drm/xe/xe_pmu: Validate gt in event supported > drm/xe/xe_i2c: Add support for i2c in survivability mode > > Rodrigo Vivi (1): > Merge drm/drm-next into drm-xe-next > > Shuicheng Lin (5): > drm/xe/uapi: Correct sync type definition in comments > drm/xe/pm: Restore display pm if there is error after display suspend > drm/xe: Remove unused code in devcoredump_snapshot() > drm/xe: Release runtime pm for error path of xe_devcoredump_read() > drm/xe/pm: Correct comment of xe_pm_set_vram_threshold() > > Thomas Hellstr?m (2): > drm/pagemap: Add a populate_mm op > drm/xe: Implement and use the drm_pagemap populate_mm op > > Tomasz Lis (1): > drm/xe/vf: Make multi-GT migration less error prone > > Tvrtko Ursulin (1): > drm/xe: Consolidate LRC offset calculations > > Vinay Belgaumkar (1): > drm/xe/bmg: Update Wa_22019338487 > > Vodapalli, Ravi Kumar (1): > drm/xe/bmg: Add one additional PCI ID > > Zhanjun Dong (1): > drm/xe/uc: Disable GuC communication on hardware initialization error > > sanirban (1): > drm/xe/ptl: Apply Wa_16026007364 > > Documentation/gpu/rfc/gpusvm.rst | 12 +- > MAINTAINERS | 7 + > drivers/gpu/drm/Makefile | 6 +- > drivers/gpu/drm/drm_gpusvm.c | 762 +------------------------ > drivers/gpu/drm/drm_pagemap.c | 838 ++++++++++++++++++++++++++++ > drivers/gpu/drm/xe/Kconfig | 16 +- > drivers/gpu/drm/xe/Makefile | 2 + > drivers/gpu/drm/xe/abi/guc_actions_abi.h | 4 + > drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 28 + > drivers/gpu/drm/xe/display/xe_dsb_buffer.c | 11 +- > drivers/gpu/drm/xe/display/xe_fb_pin.c | 7 +- > drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 2 +- > drivers/gpu/drm/xe/regs/xe_gsc_regs.h | 4 + > drivers/gpu/drm/xe/regs/xe_i2c_regs.h | 20 + > drivers/gpu/drm/xe/regs/xe_irq_regs.h | 1 + > drivers/gpu/drm/xe/regs/xe_pmt.h | 2 +- > drivers/gpu/drm/xe/regs/xe_regs.h | 2 + > drivers/gpu/drm/xe/tests/xe_bo.c | 2 +- > drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 4 +- > drivers/gpu/drm/xe/tests/xe_migrate.c | 52 +- > drivers/gpu/drm/xe/tests/xe_pci.c | 31 + > drivers/gpu/drm/xe/tests/xe_pci_test.c | 12 + > drivers/gpu/drm/xe/tests/xe_pci_test.h | 1 + > drivers/gpu/drm/xe/xe_bo.c | 37 +- > drivers/gpu/drm/xe/xe_bo.h | 17 +- > drivers/gpu/drm/xe/xe_bo_types.h | 4 +- > drivers/gpu/drm/xe/xe_devcoredump.c | 50 +- > drivers/gpu/drm/xe/xe_device.c | 121 ++-- > drivers/gpu/drm/xe/xe_device.h | 47 +- > drivers/gpu/drm/xe/xe_device_sysfs.c | 143 ++++- > drivers/gpu/drm/xe/xe_device_types.h | 22 +- > drivers/gpu/drm/xe/xe_drm_client.c | 2 +- > drivers/gpu/drm/xe/xe_eu_stall.c | 6 +- > drivers/gpu/drm/xe/xe_exec_queue.c | 2 +- > drivers/gpu/drm/xe/xe_ggtt.c | 25 +- > drivers/gpu/drm/xe/xe_gsc.c | 6 +- > drivers/gpu/drm/xe/xe_gt.c | 80 ++- > drivers/gpu/drm/xe/xe_gt.h | 1 - > drivers/gpu/drm/xe/xe_gt_mcr.c | 47 +- > drivers/gpu/drm/xe/xe_gt_pagefault.c | 1 + > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 26 +- > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 2 +- > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 - > drivers/gpu/drm/xe/xe_gt_types.h | 2 + > drivers/gpu/drm/xe/xe_guc.c | 147 ++++- > drivers/gpu/drm/xe/xe_guc.h | 2 + > drivers/gpu/drm/xe/xe_guc_ads.c | 31 +- > drivers/gpu/drm/xe/xe_guc_ct.c | 81 ++- > drivers/gpu/drm/xe/xe_guc_ct.h | 1 + > drivers/gpu/drm/xe/xe_guc_log.c | 2 +- > drivers/gpu/drm/xe/xe_guc_pc.c | 283 +++++++--- > drivers/gpu/drm/xe/xe_guc_pc.h | 2 + > drivers/gpu/drm/xe/xe_guc_pc_types.h | 2 + > drivers/gpu/drm/xe/xe_guc_submit.c | 31 +- > drivers/gpu/drm/xe/xe_heci_gsc.c | 5 +- > drivers/gpu/drm/xe/xe_huc.c | 2 +- > drivers/gpu/drm/xe/xe_hw_engine.c | 3 +- > drivers/gpu/drm/xe/xe_hw_engine_group.c | 19 +- > drivers/gpu/drm/xe/xe_i2c.c | 329 +++++++++++ > drivers/gpu/drm/xe/xe_i2c.h | 62 ++ > drivers/gpu/drm/xe/xe_irq.c | 2 + > drivers/gpu/drm/xe/xe_lmtt.c | 15 +- > drivers/gpu/drm/xe/xe_lrc.c | 41 +- > drivers/gpu/drm/xe/xe_lrc_types.h | 2 +- > drivers/gpu/drm/xe/xe_migrate.c | 50 +- > drivers/gpu/drm/xe/xe_mmio.c | 16 +- > drivers/gpu/drm/xe/xe_nvm.c | 167 ++++++ > drivers/gpu/drm/xe/xe_nvm.h | 15 + > drivers/gpu/drm/xe/xe_oa.c | 10 +- > drivers/gpu/drm/xe/xe_pci.c | 77 +-- > drivers/gpu/drm/xe/xe_pci_types.h | 41 ++ > drivers/gpu/drm/xe/xe_pcode_api.h | 15 + > drivers/gpu/drm/xe/xe_pm.c | 20 +- > drivers/gpu/drm/xe/xe_pmu.c | 7 +- > drivers/gpu/drm/xe/xe_query.c | 29 +- > drivers/gpu/drm/xe/xe_sriov_vf.c | 195 +++---- > drivers/gpu/drm/xe/xe_step.c | 2 + > drivers/gpu/drm/xe/xe_survivability_mode.c | 19 +- > drivers/gpu/drm/xe/xe_svm.c | 125 +++-- > drivers/gpu/drm/xe/xe_svm.h | 10 +- > drivers/gpu/drm/xe/xe_tile.c | 7 + > drivers/gpu/drm/xe/xe_tile.h | 11 + > drivers/gpu/drm/xe/xe_trace_bo.h | 4 +- > drivers/gpu/drm/xe/xe_uc.c | 78 +-- > drivers/gpu/drm/xe/xe_uc.h | 5 +- > drivers/gpu/drm/xe/xe_uc_fw.c | 8 +- > drivers/gpu/drm/xe/xe_vm.c | 8 +- > drivers/gpu/drm/xe/xe_wa.c | 16 + > drivers/gpu/drm/xe/xe_wa_oob.rules | 10 +- > drivers/i2c/busses/i2c-designware-platdrv.c | 18 +- > drivers/mtd/devices/Kconfig | 11 + > drivers/mtd/devices/Makefile | 1 + > drivers/mtd/devices/mtd_intel_dg.c | 830 +++++++++++++++++++++++++++ > include/drm/drm_gpusvm.h | 96 ---- > include/drm/drm_pagemap.h | 135 +++++ > include/drm/intel/pciids.h | 5 +- > include/linux/intel_dg_nvm_aux.h | 32 ++ > include/uapi/drm/xe_drm.h | 8 +- > 98 files changed, 3981 insertions(+), 1630 deletions(-) > create mode 100644 drivers/gpu/drm/drm_pagemap.c > create mode 100644 drivers/gpu/drm/xe/regs/xe_i2c_regs.h > create mode 100644 drivers/gpu/drm/xe/xe_i2c.c > create mode 100644 drivers/gpu/drm/xe/xe_i2c.h > create mode 100644 drivers/gpu/drm/xe/xe_nvm.c > create mode 100644 drivers/gpu/drm/xe/xe_nvm.h > create mode 100644 drivers/mtd/devices/mtd_intel_dg.c > create mode 100644 include/linux/intel_dg_nvm_aux.h -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From simona.vetter at ffwll.ch Fri Jul 11 09:25:26 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Fri, 11 Jul 2025 11:25:26 +0200 Subject: [PULL] drm-xe-next In-Reply-To: References: Message-ID: On Thu, Jul 10, 2025 at 06:16:55PM -0400, Rodrigo Vivi wrote: > Hi Dave and Sima, > > Here goes our drm-xe-next towards 6.17. > I'm still considering an extra small one in the beginning > of next week if possible. > > Before going to the details of what this pull request contains, > I'd like to say that I had to bypass the new dim rule that checks > for proper Acks in the patches. But only because they are in the DRM subsystem > for the restructure of migration in preparation for multi-device. I hope this > is okay by you, but please let me know if I should remove the patches and resend. > Here are the patches without DRM ack from you: > > ccfb15b8158c ("drm/xe/bmg: Add one additional PCI ID"): Mandatory Maintainer Acked-by missing. > b58701687831 ("drm/xe: Implement and use the drm_pagemap populate_mm op"): Mandatory Maintainer Acked-by missing. > 2ef19be2a545 ("drm/pagemap: Add a populate_mm op"): Mandatory Maintainer Acked-by missing. > f86ad0ed620c ("drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap"): Mandatory Maintainer Acked-by missing. > > Regarding the changes itself, please notice that this pull request includes > some cross-subsystem patches for both MTD and i2c, but all with the proper Acks > in place. They are needed for BMG features. > > As for the other Xe highlights, we have a new platform (WildCat Lake), > the removal of the force_probe protection for Panther Lake, new GuC version, > and a lot of SRIOV enabling work, specially targeting enabling it soon on BMG. > > Thanks, > Rodrigo. > > drm-xe-next-2025-07-10: > UAPI Changes: > - Documentation fixes (Shuicheng) > > Cross-subsystem Changes: > - MTD intel-dg driver for dgfx non-volatile memory device (Sasha) > - i2c: designware changes to allow i2c integration with BMG (Heikki) > > Core Changes: > - Restructure migration in preparation for multi-device (Brost, Thomas) > - Expose fan control and voltage regulator version on sysfs (Raag) > > Driver Changes: > - Add WildCat Lake support (Roper) > - Add aux bus child device driver for NVM on DGFX (Sasha) > - Some refactor and fixes to allow cleaner BMG w/a (Lucas, Maarten, Auld) > - BMG w/a (Vinay) > - Improve handling of aborted probe (Michal) > - Do not wedge device on killed exec queues (Brost) > - Init changes for flicker-free boot (Maarten) > - Fix out-of-bounds field write in MI_STORE_DATA_IMM (Jia) > - Enable the GuC Dynamic Inhibit Context Switch optimization (Daniele) > - Drop bo->size (Brost) > - Builds and KConfig fixes (Harry, Maarten) > - Consolidate LRC offset calculations (Tvrtko) > - Fix potential leak in hw_engine_group (Michal) > - Future-proof for multi-tile + multi-GT cases (Roper) > - Validate gt in pmu event (Riana) > - SRIOV PF: Clear all LMTT pages on alloc (Michal) > - Allocate PF queue size on pow2 boundary (Brost) > - SRIOV VF: Make multi-GT migration less error prone (Tomasz) > - Revert indirect ring state patch to fix random LRC context switches failures (Brost) > - Fix compressed VRAM handling (Auld) > - Add one additional BMG PCI ID (Ravi) > - Recommend GuC v70.46.2 for BMG, LNL, DG2 (Julia) > - Add GuC and HuC to PTL (Daniele) > - Drop PTL force_probe requirement (Atwood) > - Fix error flow in display suspend (Shuicheng) > - Disable GuC communication on hardware initialization error (Zhanjun) > - Devcoredump fixes and clean up (Shuicheng) > - SRIOV PF: Downgrade some info to debug (Michal) > - Don't allocate temporary GuC policies object (Michal) > - Support for I2C attached MCUs (Heikki, Raag, Riana) > - Add GPU memory bo trace points (Juston) > - SRIOV VF: Skip some W/a (Michal) > - Correct comment of xe_pm_set_vram_threshold (Shuicheng) > - Cancel ongoing H2G requests when stopping CT (Michal) > The following changes since commit 36c52fb703e90388285963fc8f03cf60f76cbe4c: > > Merge tag 'drm-intel-next-2025-06-18' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2025-06-23 10:49:27 +1000) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2025-07-10 Pulled into drm-next, thanks! There was somehow some new conflicts in drm-tip that git rerere didn't sort out with the xe cherry-picks. Not sure what happened there ... Cheers, Sima > > for you to fetch changes up to 94de94d24ea8cf567ec7254a723c3192c72c2ca6: > > drm/xe/guc: Cancel ongoing H2G requests when stopping CT (2025-07-10 21:46:29 +0200) > > ---------------------------------------------------------------- > UAPI Changes: > - Documentation fixes (Shuicheng) > > Cross-subsystem Changes: > - MTD intel-dg driver for dgfx non-volatile memory device (Sasha) > - i2c: designware changes to allow i2c integration with BMG (Heikki) > > Core Changes: > - Restructure migration in preparation for multi-device (Brost, Thomas) > - Expose fan control and voltage regulator version on sysfs (Raag) > > Driver Changes: > - Add WildCat Lake support (Roper) > - Add aux bus child device driver for NVM on DGFX (Sasha) > - Some refactor and fixes to allow cleaner BMG w/a (Lucas, Maarten, Auld) > - BMG w/a (Vinay) > - Improve handling of aborted probe (Michal) > - Do not wedge device on killed exec queues (Brost) > - Init changes for flicker-free boot (Maarten) > - Fix out-of-bounds field write in MI_STORE_DATA_IMM (Jia) > - Enable the GuC Dynamic Inhibit Context Switch optimization (Daniele) > - Drop bo->size (Brost) > - Builds and KConfig fixes (Harry, Maarten) > - Consolidate LRC offset calculations (Tvrtko) > - Fix potential leak in hw_engine_group (Michal) > - Future-proof for multi-tile + multi-GT cases (Roper) > - Validate gt in pmu event (Riana) > - SRIOV PF: Clear all LMTT pages on alloc (Michal) > - Allocate PF queue size on pow2 boundary (Brost) > - SRIOV VF: Make multi-GT migration less error prone (Tomasz) > - Revert indirect ring state patch to fix random LRC context switches failures (Brost) > - Fix compressed VRAM handling (Auld) > - Add one additional BMG PCI ID (Ravi) > - Recommend GuC v70.46.2 for BMG, LNL, DG2 (Julia) > - Add GuC and HuC to PTL (Daniele) > - Drop PTL force_probe requirement (Atwood) > - Fix error flow in display suspend (Shuicheng) > - Disable GuC communication on hardware initialization error (Zhanjun) > - Devcoredump fixes and clean up (Shuicheng) > - SRIOV PF: Downgrade some info to debug (Michal) > - Don't allocate temporary GuC policies object (Michal) > - Support for I2C attached MCUs (Heikki, Raag, Riana) > - Add GPU memory bo trace points (Juston) > - SRIOV VF: Skip some W/a (Michal) > - Correct comment of xe_pm_set_vram_threshold (Shuicheng) > - Cancel ongoing H2G requests when stopping CT (Michal) > > ---------------------------------------------------------------- > Alexander Usyskin (7): > mtd: add driver for intel graphics non-volatile memory device > mtd: intel-dg: implement region enumeration > mtd: intel-dg: implement access functions > mtd: intel-dg: register with mtd > mtd: intel-dg: align 64bit read and write > drm/xe/nvm: add on-die non-volatile memory device > drm/xe/nvm: add support for access mode > > Daniele Ceraolo Spurio (5): > Revert "drm/xe/ptl: Apply Wa_16026007364" > drm/xe/guc: Enable extended CAT error reporting > drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization > drm/xe/ptl: Add GuC FW definition for PTL > drm/xe/ptl: Add HuC FW definition for PTL > > Harry Austen (1): > drm/xe: Allow dropping kunit dependency as built-in > > Heikki Krogerus (3): > i2c: designware: Use polling by default when there is no irq resource > i2c: designware: Add quirk for Intel Xe > drm/xe: Support for I2C attached MCUs > > Jia Yao (1): > drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM > > Julia Filipchuk (1): > drm/xe/guc: Recommend GuC v70.46.2 for BMG, LNL, DG2 > > Juston Li (1): > drm/xe/bo: add GPU memory trace points > > Lucas De Marchi (3): > drm/xe/guc_pc: Add _locked variant for min/max freq > drm/xe/xe_guc_pc: Lock once to update stashed frequencies > drm/xe: Split xe_device_td_flush() > > Maarten Lankhorst (13): > drm/xe: Move DSB l2 flush to a more sensible place > drm/xe: Defer memirq init until needed > drm/xe/sriov: Move VF bootstrap and query_config to vf_guc_init > drm/xe: Simplify GuC early initialization > drm/xe: Make it possible to read instance0 MCR registers after xe_gt_mcr_init_early > drm/xe: Only dump PAT when xe_hw_engines_init_early fails > drm/xe: Rename gt_init sub-functions > drm/xe: Split init of xe_gt_init_hwconfig to xe_gt_init and *_early > drm/xe: Move xe_ttm_sys_mgr_init() downwards. > drm/xe: Remove xe_uc_init_hwconfig() > drm/xe: Remove xe_uc_fini_hw > drm/xe: Rename xe_uc_init_hw to xe_uc_load_hw > drm/xe: Fix typo in Kconfig > > Matt Atwood (1): > drm/xe/ptl: Drop force_probe requirement > > Matt Roper (9): > drm/xe/xe3: Add support for graphics IP version 30.03 > drm/xe/xe3: Add support for media IP version 30.02 > drm/xe: Add Wildcat Lake device IDs to PTL list > drm/xe: Export xe_step_name for kunit tests > drm/xe: Track maximum GTs per tile on a per-platform basis > drm/xe/tests/pci: Ensure all platforms have a valid GT/tile count > drm/xe: Assign GT IDs properly on multi-tile + multi-GT platforms > drm/xe: Don't compare GT ID to GT count when determining valid GTs > drm/xe/xe_query: Use separate iterator while filling GT list > > Matthew Auld (2): > drm/xe: move DPT l2 flush to a more sensible place > drm/xe/bmg: fix compressed VRAM handling > > Matthew Brost (5): > drm/xe: Do not wedge device on killed exec queues > drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap > drm/xe: Drop bo->size > drm/xe: Allocate PF queue size on pow2 boundary > Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2" > > Michal Wajdeczko (11): > drm/xe: Process deferred GGTT node removals on device unwind > drm/xe/guc: Explicitly exit CT safe mode on unwind > drm/xe/hw_engine_group: Fix potential leak > drm/xe/pf: Clear all LMTT pages on alloc > drm/xe/pf: Print runtime registers using debug printer > drm/xe/pf: Print configuration KLVs using debug printer > drm/xe/guc: Don't allocate temporary policies object > drm/xe/bmg: Don't use WA 16023588340 and 22019338487 on VF > drm/xe/guc: Rename CT state change helper > drm/xe/guc: Move state change logger to helper > drm/xe/guc: Cancel ongoing H2G requests when stopping CT > > Raag Jadav (2): > drm/xe: Expose fan control and voltage regulator version > drm/xe/pm: Wire up suspend/resume for I2C controller > > Reuven Abliyev (1): > drm/xe/nvm: add support for non-posted erase > > Riana Tauro (2): > drm/xe/xe_pmu: Validate gt in event supported > drm/xe/xe_i2c: Add support for i2c in survivability mode > > Rodrigo Vivi (1): > Merge drm/drm-next into drm-xe-next > > Shuicheng Lin (5): > drm/xe/uapi: Correct sync type definition in comments > drm/xe/pm: Restore display pm if there is error after display suspend > drm/xe: Remove unused code in devcoredump_snapshot() > drm/xe: Release runtime pm for error path of xe_devcoredump_read() > drm/xe/pm: Correct comment of xe_pm_set_vram_threshold() > > Thomas Hellstr?m (2): > drm/pagemap: Add a populate_mm op > drm/xe: Implement and use the drm_pagemap populate_mm op > > Tomasz Lis (1): > drm/xe/vf: Make multi-GT migration less error prone > > Tvrtko Ursulin (1): > drm/xe: Consolidate LRC offset calculations > > Vinay Belgaumkar (1): > drm/xe/bmg: Update Wa_22019338487 > > Vodapalli, Ravi Kumar (1): > drm/xe/bmg: Add one additional PCI ID > > Zhanjun Dong (1): > drm/xe/uc: Disable GuC communication on hardware initialization error > > sanirban (1): > drm/xe/ptl: Apply Wa_16026007364 > > Documentation/gpu/rfc/gpusvm.rst | 12 +- > MAINTAINERS | 7 + > drivers/gpu/drm/Makefile | 6 +- > drivers/gpu/drm/drm_gpusvm.c | 762 +------------------------ > drivers/gpu/drm/drm_pagemap.c | 838 ++++++++++++++++++++++++++++ > drivers/gpu/drm/xe/Kconfig | 16 +- > drivers/gpu/drm/xe/Makefile | 2 + > drivers/gpu/drm/xe/abi/guc_actions_abi.h | 4 + > drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 28 + > drivers/gpu/drm/xe/display/xe_dsb_buffer.c | 11 +- > drivers/gpu/drm/xe/display/xe_fb_pin.c | 7 +- > drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 2 +- > drivers/gpu/drm/xe/regs/xe_gsc_regs.h | 4 + > drivers/gpu/drm/xe/regs/xe_i2c_regs.h | 20 + > drivers/gpu/drm/xe/regs/xe_irq_regs.h | 1 + > drivers/gpu/drm/xe/regs/xe_pmt.h | 2 +- > drivers/gpu/drm/xe/regs/xe_regs.h | 2 + > drivers/gpu/drm/xe/tests/xe_bo.c | 2 +- > drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 4 +- > drivers/gpu/drm/xe/tests/xe_migrate.c | 52 +- > drivers/gpu/drm/xe/tests/xe_pci.c | 31 + > drivers/gpu/drm/xe/tests/xe_pci_test.c | 12 + > drivers/gpu/drm/xe/tests/xe_pci_test.h | 1 + > drivers/gpu/drm/xe/xe_bo.c | 37 +- > drivers/gpu/drm/xe/xe_bo.h | 17 +- > drivers/gpu/drm/xe/xe_bo_types.h | 4 +- > drivers/gpu/drm/xe/xe_devcoredump.c | 50 +- > drivers/gpu/drm/xe/xe_device.c | 121 ++-- > drivers/gpu/drm/xe/xe_device.h | 47 +- > drivers/gpu/drm/xe/xe_device_sysfs.c | 143 ++++- > drivers/gpu/drm/xe/xe_device_types.h | 22 +- > drivers/gpu/drm/xe/xe_drm_client.c | 2 +- > drivers/gpu/drm/xe/xe_eu_stall.c | 6 +- > drivers/gpu/drm/xe/xe_exec_queue.c | 2 +- > drivers/gpu/drm/xe/xe_ggtt.c | 25 +- > drivers/gpu/drm/xe/xe_gsc.c | 6 +- > drivers/gpu/drm/xe/xe_gt.c | 80 ++- > drivers/gpu/drm/xe/xe_gt.h | 1 - > drivers/gpu/drm/xe/xe_gt_mcr.c | 47 +- > drivers/gpu/drm/xe/xe_gt_pagefault.c | 1 + > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 26 +- > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 2 +- > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 - > drivers/gpu/drm/xe/xe_gt_types.h | 2 + > drivers/gpu/drm/xe/xe_guc.c | 147 ++++- > drivers/gpu/drm/xe/xe_guc.h | 2 + > drivers/gpu/drm/xe/xe_guc_ads.c | 31 +- > drivers/gpu/drm/xe/xe_guc_ct.c | 81 ++- > drivers/gpu/drm/xe/xe_guc_ct.h | 1 + > drivers/gpu/drm/xe/xe_guc_log.c | 2 +- > drivers/gpu/drm/xe/xe_guc_pc.c | 283 +++++++--- > drivers/gpu/drm/xe/xe_guc_pc.h | 2 + > drivers/gpu/drm/xe/xe_guc_pc_types.h | 2 + > drivers/gpu/drm/xe/xe_guc_submit.c | 31 +- > drivers/gpu/drm/xe/xe_heci_gsc.c | 5 +- > drivers/gpu/drm/xe/xe_huc.c | 2 +- > drivers/gpu/drm/xe/xe_hw_engine.c | 3 +- > drivers/gpu/drm/xe/xe_hw_engine_group.c | 19 +- > drivers/gpu/drm/xe/xe_i2c.c | 329 +++++++++++ > drivers/gpu/drm/xe/xe_i2c.h | 62 ++ > drivers/gpu/drm/xe/xe_irq.c | 2 + > drivers/gpu/drm/xe/xe_lmtt.c | 15 +- > drivers/gpu/drm/xe/xe_lrc.c | 41 +- > drivers/gpu/drm/xe/xe_lrc_types.h | 2 +- > drivers/gpu/drm/xe/xe_migrate.c | 50 +- > drivers/gpu/drm/xe/xe_mmio.c | 16 +- > drivers/gpu/drm/xe/xe_nvm.c | 167 ++++++ > drivers/gpu/drm/xe/xe_nvm.h | 15 + > drivers/gpu/drm/xe/xe_oa.c | 10 +- > drivers/gpu/drm/xe/xe_pci.c | 77 +-- > drivers/gpu/drm/xe/xe_pci_types.h | 41 ++ > drivers/gpu/drm/xe/xe_pcode_api.h | 15 + > drivers/gpu/drm/xe/xe_pm.c | 20 +- > drivers/gpu/drm/xe/xe_pmu.c | 7 +- > drivers/gpu/drm/xe/xe_query.c | 29 +- > drivers/gpu/drm/xe/xe_sriov_vf.c | 195 +++---- > drivers/gpu/drm/xe/xe_step.c | 2 + > drivers/gpu/drm/xe/xe_survivability_mode.c | 19 +- > drivers/gpu/drm/xe/xe_svm.c | 125 +++-- > drivers/gpu/drm/xe/xe_svm.h | 10 +- > drivers/gpu/drm/xe/xe_tile.c | 7 + > drivers/gpu/drm/xe/xe_tile.h | 11 + > drivers/gpu/drm/xe/xe_trace_bo.h | 4 +- > drivers/gpu/drm/xe/xe_uc.c | 78 +-- > drivers/gpu/drm/xe/xe_uc.h | 5 +- > drivers/gpu/drm/xe/xe_uc_fw.c | 8 +- > drivers/gpu/drm/xe/xe_vm.c | 8 +- > drivers/gpu/drm/xe/xe_wa.c | 16 + > drivers/gpu/drm/xe/xe_wa_oob.rules | 10 +- > drivers/i2c/busses/i2c-designware-platdrv.c | 18 +- > drivers/mtd/devices/Kconfig | 11 + > drivers/mtd/devices/Makefile | 1 + > drivers/mtd/devices/mtd_intel_dg.c | 830 +++++++++++++++++++++++++++ > include/drm/drm_gpusvm.h | 96 ---- > include/drm/drm_pagemap.h | 135 +++++ > include/drm/intel/pciids.h | 5 +- > include/linux/intel_dg_nvm_aux.h | 32 ++ > include/uapi/drm/xe_drm.h | 8 +- > 98 files changed, 3981 insertions(+), 1630 deletions(-) > create mode 100644 drivers/gpu/drm/drm_pagemap.c > create mode 100644 drivers/gpu/drm/xe/regs/xe_i2c_regs.h > create mode 100644 drivers/gpu/drm/xe/xe_i2c.c > create mode 100644 drivers/gpu/drm/xe/xe_i2c.h > create mode 100644 drivers/gpu/drm/xe/xe_nvm.c > create mode 100644 drivers/gpu/drm/xe/xe_nvm.h > create mode 100644 drivers/mtd/devices/mtd_intel_dg.c > create mode 100644 include/linux/intel_dg_nvm_aux.h -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From simona.vetter at ffwll.ch Fri Jul 11 09:27:48 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Fri, 11 Jul 2025 11:27:48 +0200 Subject: [PULL] drm-intel-next In-Reply-To: References: Message-ID: On Thu, Jul 10, 2025 at 06:28:58PM -0400, Rodrigo Vivi wrote: > Hi Dave and Sima, > > Here goes the last drm-intel-next towards 6.17. I'm covering for Jani here, > but in the end we got just one patch that is a fix, but let's push that soon > anyway and minimize the -next-fixes round. > > Thanks, > Rodrigo. > > drm-intel-next-2025-07-10: > Driver Changes: > - DSI panel's version 2 mipi-sequences fix (Hans) > The following changes since commit d6a59ee852758bc69c4cc821954db277a2bd5b93: > > drm/ttm: Remove unneeded blank line in comment (2025-07-02 13:31:20 -0700) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-next-2025-07-10 Pulled into drm-next, thanks! -Sima > > for you to fetch changes up to 11895f375939d60efe7ed5dddc1cffe2e79f976c: > > drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too (2025-07-10 11:30:32 -0400) > > ---------------------------------------------------------------- > Driver Changes: > - DSI panel's version 2 mipi-sequences fix (Hans) > > ---------------------------------------------------------------- > Hans de Goede (1): > drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too > > drivers/gpu/drm/i915/display/intel_bios.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From simona.vetter at ffwll.ch Fri Jul 11 09:35:29 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Fri, 11 Jul 2025 11:35:29 +0200 Subject: [PULL] drm-intel-fixes In-Reply-To: References: Message-ID: On Thu, Jul 10, 2025 at 06:32:25PM -0400, Rodrigo Vivi wrote: > Hi Dave and Sima, > > Here goes the drm-intel-fixes of this week as I'm covering for Joonas here. > > Also, only the single DSI fix from Hans. > > Thanks, > Rodrigo. > > drm-intel-fixes-2025-07-10: > Short summary of fixes: > - DSI panel's version 2 mipi-sequences fix (Hans) > The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a: > > Linux 6.16-rc5 (2025-07-06 14:10:26 -0700) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-fixes-2025-07-10 Pulled into drm-fixes, thanks! -Sima > > for you to fetch changes up to e778689390c71462a099b5d6e56d71c316486184: > > drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too (2025-07-10 11:35:20 -0400) > > ---------------------------------------------------------------- > Short summary of fixes: > - DSI panel's version 2 mipi-sequences fix (Hans) > > ---------------------------------------------------------------- > Hans de Goede (1): > drm/i915/bios: Apply vlv_fixup_mipi_sequences() to v2 mipi-sequences too > > drivers/gpu/drm/i915/display/intel_bios.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From simona.vetter at ffwll.ch Fri Jul 11 12:15:45 2025 From: simona.vetter at ffwll.ch (Simona Vetter) Date: Fri, 11 Jul 2025 14:15:45 +0200 Subject: [PULL] drm-misc-fixes In-Reply-To: References: Message-ID: On Thu, Jul 10, 2025 at 10:59:19AM +0200, Maarten Lankhorst wrote: > Hi Dave, Simona, > > Pull request for v6.16! > > Best regards, > ~Maarten > > drm-misc-fixes-2025-07-10: > drm-misc-fixes for v6.16-rc6 or final: > - Fix nouveau fail on debugfs errors. > - Magic 50 ms to fix nouveau suspend. > - Call rust destructor on drm device release. > - Fix DMA api error handling in tegra/nvdec. > - Fix PVR device reset. > - Habanalabs maintainer update. > - Small memory leak fix when nouveau acpi init fails. > - Do not attempt to bind to any PCI device with AGP capability. > - Make FB's acquire handles on backing object, same as i915/xe already does. > - Fix race in drm_gem_handle_create_tail. > The following changes since commit 226862f50a7a88e4e4de9abbf36c64d19acd6fd0: > > drm/v3d: Disable interrupts before resetting the GPU (2025-07-02 19:08:11 -0300) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2025-07-10 Pulled into drm-fixes, thanks. -Sima > > for you to fetch changes up to bd46cece51a36ef088f22ef0416ac13b0a46d5b0: > > drm/gem: Fix race in drm_gem_handle_create_tail() (2025-07-09 15:53:34 +0200) > > ---------------------------------------------------------------- > drm-misc-fixes for v6.16-rc6 or final: > - Fix nouveau fail on debugfs errors. > - Magic 50 ms to fix nouveau suspend. > - Call rust destructor on drm device release. > - Fix DMA api error handling in tegra/nvdec. > - Fix PVR device reset. > - Habanalabs maintainer update. > - Small memory leak fix when nouveau acpi init fails. > - Do not attempt to bind to any PCI device with AGP capability. > - Make FB's acquire handles on backing object, same as i915/xe already does. > - Fix race in drm_gem_handle_create_tail. > > ---------------------------------------------------------------- > Aaron Thompson (1): > drm/nouveau: Do not fail module init on debugfs errors > > Alessio Belle (1): > drm/imagination: Fix kernel crash when hard resetting the GPU > > Ben Skeggs (1): > drm/nouveau/gsp: fix potential leak of memory used during acpi init > > Danilo Krummrich (1): > rust: drm: device: drop_in_place() the drm::Device in release() > > Dave Airlie (1): > nouveau/gsp: add a 50ms delay between fbsr and driver unload rpcs > > Lukas Wunner (1): > agp/amd64: Check AGP Capability before binding to unsupported devices > > Mikko Perttunen (1): > drm/tegra: nvdec: Fix dma_alloc_coherent error check > > Ofir Bitton (1): > MAINTAINERS: Change habanalabs maintainer > > Simona Vetter (1): > drm/gem: Fix race in drm_gem_handle_create_tail() > > Tamir Duberstein (1): > rust: drm: remove unnecessary imports > > Thomas Zimmermann (1): > drm/framebuffer: Acquire internal references on GEM handles > > MAINTAINERS | 2 +- > drivers/char/agp/amd64-agp.c | 16 ++++---- > drivers/gpu/drm/drm_framebuffer.c | 31 +++++++++++++- > drivers/gpu/drm/drm_gem.c | 48 +++++++++++++++------- > drivers/gpu/drm/drm_gem_framebuffer_helper.c | 16 ++++---- > drivers/gpu/drm/drm_internal.h | 2 +- > drivers/gpu/drm/drm_panic_qr.rs | 2 +- > drivers/gpu/drm/imagination/pvr_power.c | 4 +- > drivers/gpu/drm/nouveau/nouveau_debugfs.c | 6 +-- > drivers/gpu/drm/nouveau/nouveau_debugfs.h | 5 +-- > drivers/gpu/drm/nouveau/nouveau_drm.c | 4 +- > .../gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c | 27 +++++++++--- > drivers/gpu/drm/tegra/nvdec.c | 6 +-- > include/drm/drm_file.h | 3 ++ > include/drm/drm_framebuffer.h | 7 ++++ > rust/kernel/drm/device.rs | 12 +++++- > rust/kernel/drm/driver.rs | 1 - > 17 files changed, 130 insertions(+), 62 deletions(-) -- Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch