Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp834956rdb; Thu, 30 Nov 2023 22:42:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGldsS+oZ95aLNo05AV8ubhfbqhIZvPQojxz7Ijh3LLe7l9vfKIGS/2QF12WkqXpAdSAGa4 X-Received: by 2002:a17:90b:1e46:b0:285:afac:49f2 with SMTP id pi6-20020a17090b1e4600b00285afac49f2mr17508735pjb.15.1701412937176; Thu, 30 Nov 2023 22:42:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701412937; cv=none; d=google.com; s=arc-20160816; b=IMgcLHwATkOf1Pd5IjdAB/2QCY4DrTfLjLn+uvK0HGLNf/d231d7jM5EzFgWglwVXX F51xBnNiI1ZUFTc4VyilAa2SIxyiNeEiJfriVjsK7yUcWrY4zzj+1l4vpYMW8aLwPI1o YDf9YOf3nNBvuoYAIpsq+7DlDattkR3elGFkgXXedE2e4bsailL2RV61BNTxzN3u53dO eTkoMz0j8/kH+p5DRUaM1vobsR0CfyNvv59F3FGIGm1vpM7GRoziaViRdTDNL4CfjFnA juScejOFPiddJUPhX6zzSrG7A8GyOPmf/F7gtyzpfzCR6k25N+pwmLeHU+SpUwNhJJKN DcXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:mime-version:dkim-signature; bh=BGiULZCMsXRK1ppC1GgvB6IlEzYsQ+E/lUmA1jkmn7Q=; fh=vkDv7EUSPCkuZpo4m5Hjgf+3wnv0DMsfRBmsN0DPoPY=; b=IxH+hOGvuczpCPQZjq5vi37GZGWIq9KoTzvL14vZyBR1uW89siU7lZzw6xnPaFMu/F m+6qDsnFKwxTiU911KBVUpowsrmSPN3TXiAKKK0sSHcinRNUM4F80LIg/xp6gZHkViKf Me5y8C1i/aY2YZKM0Rc6he8jCAuZrdXPkxROgmCqfVhRpdSNODFlkJIM6CN9DRPozzG9 LpWQPIPIZwGe5ABJSu1ZGqx0qhZTSs4QBx+XcL9CAn93h7fkBYBIvrtYMt/5fG/ga7Fe f8ikI5V+qpDDuAoEJVajNPg/O3oF1EgFzyNs4V/JajEZWxtD8hq0PjuCq42dfQkFd4vO MT2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GmhPgvRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id gl7-20020a17090b120700b00280f5032e03si5047759pjb.133.2023.11.30.22.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 22:42:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GmhPgvRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 71F348246326; Thu, 30 Nov 2023 22:42:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232346AbjLAGlu (ORCPT + 99 others); Fri, 1 Dec 2023 01:41:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbjLAGls (ORCPT ); Fri, 1 Dec 2023 01:41:48 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A55421726 for ; Thu, 30 Nov 2023 22:41:52 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-54c5ed26cf6so163033a12.3 for ; Thu, 30 Nov 2023 22:41:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701412911; x=1702017711; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BGiULZCMsXRK1ppC1GgvB6IlEzYsQ+E/lUmA1jkmn7Q=; b=GmhPgvRy86OUBfnVptxN5vVScke85p/BosW7/RKWrriOr1hirLGhwD//Fg4gZpbo27 5j/1DJbLmRc6hV2+tZYmwscD5tylpfSwQ2lhy3Ga/aqJFRm2GRdrUuiCVVTxTOPHYR/p JBiXGUihgT57T0b6xE8ykbGA9bWeIQuIfzWmOKjJ8lPr6DZodxQpwoE/6YVXrkelo/hl 1ibix2jXM1ItQCIzetaG3MO+Omt47vAw9UDKTvR0P7uCcQ+/A8FXMzKSjp4XX+eiGGHa 1aoZvsJglOPDwOvmaUdEsSjGI2J/grph4us6WtXngZ0t46ySoKR4nfKqXM6NIctCMdgQ EjyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701412911; x=1702017711; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BGiULZCMsXRK1ppC1GgvB6IlEzYsQ+E/lUmA1jkmn7Q=; b=UKPXU7mXYSOh7NVo/COBz34ZreiPB8F1R7mpWr/c6zLs+WQbUfn8OQyw4E09iLQoKi dB2satJXhbR5paJ5n9AjTUJdmUsJxoknR6hEoeCYHtkn3ZxDcfX693mvaCnqOEOo3+Ja q3SKuSb0suNo3f9euuYtDx9JioyiRUPrM1ITiLhWJT0K0K+nYoGsoqYBFU95wKgkRlHn Njw92nahZur03QfmGT04h2QNg7uc4vEJ7ok1c9cJfdeZxVWms1bPJp9J6EJME3I7EA/R U+8tbjIWCt2EEbBmQPv+lUvnjuDbiJe3PKetHMUkvNux6b8GCrLtTeeMLC3dpC99Uj0K GLpg== X-Gm-Message-State: AOJu0YzoFo8BoiW5qz5eWEfrAnwOqcTChKmad6OxpYhlctmxEhoEqmUx NxiiIa+Y9t65FJ/o7yMDMnhvGMAxEvcOmNGz4cl8tZdOveg= X-Received: by 2002:a17:906:dcb:b0:a18:3eb2:3502 with SMTP id p11-20020a1709060dcb00b00a183eb23502mr476499eji.62.1701412910865; Thu, 30 Nov 2023 22:41:50 -0800 (PST) MIME-Version: 1.0 From: Dave Airlie Date: Fri, 1 Dec 2023 16:41:39 +1000 Message-ID: Subject: [git pull] drm fixes for 6.7-rc4 To: Linus Torvalds , Daniel Vetter Cc: dri-devel , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 30 Nov 2023 22:42:11 -0800 (PST) Hi Linus, Weekly fixes, mostly amdgpu fixes with a scattering of nouveau, i915, and a couple of reverts. Hopefully it will quieten down in coming weeks. Regards, Dave. drm-fixes-2023-12-01: drm fixes for 6.7-rc4 drm: - Revert unexport of prime helpers for fd/handle conversion dma_resv: - Do not double add fences in dma_resv_add_fence. gpuvm: - Fix GPUVM license identifier. i915: - Mark internal GSC engine with reserved uabi class - Take VGA converters into account in eDP probe - Fix intel_pre_plane_updates() call to ensure workarounds get applied panel: - Revert panel fixes as they require exporting device_is_dependent. nouveau: - fix oversized allocations in new vm path - fix zero-length array - remove a stray lock nt36523: - Fix error check for nt36523. amdgpu: - DMUB fix - DCN 3.5 fixes - XGMI fix - DCN 3.2 fixes - Vangogh suspend fix - NBIO 7.9 fix - GFX11 golden register fix - Backlight fix - NBIO 7.11 fix - IB test overflow fix - DCN 3.1.4 fixes - fix a runtime pm ref count - Retimer fix - ABM fix - DCN 3.1.5 fix - Fix AGP addressing - Fix possible memory leak in SMU error path - Make sure PME is enabled in D3 - Fix possible NULL pointer dereference in debugfs - EEPROM fix - GC 9.4.3 fix amdkfd: - IP version check fix - Fix memory leak in pqm_uninit() The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab= : Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-12-01 for you to fetch changes up to 908f60642441cb4f9f0e1eb576e63b0011d318b9: Merge tag 'amd-drm-fixes-6.7-2023-11-30' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2023-12-01 13:57:11 +1000) ---------------------------------------------------------------- drm fixes for 6.7-rc4 drm: - Revert unexport of prime helpers for fd/handle conversion dma_resv: - Do not double add fences in dma_resv_add_fence. gpuvm: - Fix GPUVM license identifier. i915: - Mark internal GSC engine with reserved uabi class - Take VGA converters into account in eDP probe - Fix intel_pre_plane_updates() call to ensure workarounds get applied panel: - Revert panel fixes as they require exporting device_is_dependent. nouveau: - fix oversized allocations in new vm path - fix zero-length array - remove a stray lock nt36523: - Fix error check for nt36523. amdgpu: - DMUB fix - DCN 3.5 fixes - XGMI fix - DCN 3.2 fixes - Vangogh suspend fix - NBIO 7.9 fix - GFX11 golden register fix - Backlight fix - NBIO 7.11 fix - IB test overflow fix - DCN 3.1.4 fixes - fix a runtime pm ref count - Retimer fix - ABM fix - DCN 3.1.5 fix - Fix AGP addressing - Fix possible memory leak in SMU error path - Make sure PME is enabled in D3 - Fix possible NULL pointer dereference in debugfs - EEPROM fix - GC 9.4.3 fix amdkfd: - IP version check fix - Fix memory leak in pqm_uninit() ---------------------------------------------------------------- Alex Deucher (1): drm/amdgpu: fix AGP addressing when GART is not at 0 Alex Sierra (1): drm/amdgpu: Force order between a read and write to the same address Alvin Lee (3): drm/amd/display: Include udelay when waiting for INBOX0 ACK drm/amd/display: Use DRAM speed from validation for dummy p-state drm/amd/display: Increase num voltage states to 40 Camille Cho (1): drm/amd/display: Simplify brightness initialization Candice Li (1): drm/amdgpu: Update EEPROM I2C address for smu v13_0_0 Christian K=C3=B6nig (1): dma-buf: fix check in dma_resv_add_fence Dan Carpenter (1): nouveau/gsp/r535: remove a stray unlock in r535_gsp_rpc_send() Dave Airlie (4): nouveau: find the smallest page allocation to cover a buffer alloc. Merge tag 'drm-intel-fixes-2023-11-30' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Merge tag 'drm-misc-fixes-2023-11-29' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'amd-drm-fixes-6.7-2023-11-30' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Dinghao Liu (1): drm/amd/pm: fix a memleak in aldebaran_tables_init Dmytro Laktyushkin (1): drm/amd/display: update dcn315 lpddr pstate latency Felix Kuehling (1): Revert "drm/prime: Unexport helpers for fd/handle conversion" Gustavo A. R. Silva (1): nouveau/gsp: replace zero-length array with flex-array member and use __counted_by Hamza Mahfooz (1): drm/amd/display: fix ABM disablement Hawking Zhang (1): drm/amdgpu: Do not issue gpu reset from nbio v7_9 bif interrupt Ilya Bakoulin (1): drm/amd/display: Fix MPCC 1DLUT programming Jonathan Kim (1): drm/amdgpu: update xgmi num links info post gc9.4.2 Li Ma (1): drm/amdgpu: add init_registers for nbio v7.11 Lijo Lazar (1): drm/amdgpu: Use another offset for GC 9.4.3 remap Linus Walleij (3): Revert "drm/bridge: panel: Check device dependency before managing device link" Revert "driver core: Export device_is_dependent() to modules" Revert "drm/bridge: panel: Add a device link between drm device and panel device" Liu Ying (2): drm/bridge: panel: Check device dependency before managing device lin= k driver core: Export device_is_dependent() to modules Lu Yao (1): drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null point= er Mario Limonciello (1): drm/amd: Enable PCIe PME from D3 Michael Strauss (1): drm/amd/display: Do not read DPREFCLK spread info from LUT on DCN35 Mukul Joshi (1): drm/amdkfd: Use common function for IP version check Nicholas Kazlauskas (8): drm/amd/display: Add z-state support policy for dcn35 drm/amd/display: Update DCN35 watermarks drm/amd/display: Add Z8 watermarks for DML2 bbox overrides drm/amd/display: Feed SR and Z8 watermarks into DML2 for DCN35 drm/amd/display: Remove min_dst_y_next_start check for Z8 drm/amd/display: Update min Z8 residency time to 2100 for DCN314 drm/amd/display: Update DCN35 clock table policy drm/amd/display: Allow DTBCLK disable for DCN35 Perry Yuan (1): drm/amdgpu: optimize RLC powerdown notification on Vangogh Prike Liang (1): drm/amdgpu: correct the amdgpu runtime dereference usage count Sung Joon Kim (1): drm/amd/display: Fix black screen on video playback with embedded pan= el Taimur Hassan (3): drm/amd/display: Remove config update drm/amd/display: Fix conversions between bytes and KB drm/amd/display: Fix some HostVM parameters in DML Thomas Hellstr=C3=B6m (1): drm/gpuvm: Fix deprecated license identifier Tim Huang (1): drm/amdgpu: fix memory overflow in the IB test Tvrtko Ursulin (1): drm/i915/gsc: Mark internal GSC engine with reserved uabi class Ville Syrj=C3=A4l=C3=A4 (2): drm/i915: Also check for VGA converter in eDP probe drm/i915: Call intel_pre_plane_updates() also for pipes getting enabl= ed Wenjing Liu (1): drm/amd/display: fix a pipe mapping error in dcn32_fpu Yang Yingliang (1): drm/panel: nt36523: fix return value check in nt36523_probe() ZhenGuo Yin (1): drm/amdkfd: Free gang_ctx_bo and wptr_bo in pqm_uninit Zhongwei (1): drm/amd/display: force toggle rate wa for first link training for a retimer xiazhengqiao (1): drm/panel: starry-2081101qfh032011-53g: Fine tune the panel power seq= uence drivers/dma-buf/dma-resv.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 10 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 4 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_11.c | 18 +-- drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c | 5 - drivers/gpu/drm/amd/amdgpu/soc15.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 54 ++++--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +- .../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 8 +- .../amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 159 ++++++++++-------= ---- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 4 - .../drm/amd/display/dc/dcn314/dcn314_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c | 10 ++ .../gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 9 +- drivers/gpu/drm/amd/display/dc/dml/dc_features.h | 2 +- .../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 15 +- .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 23 +-- .../gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 84 ++++++++++- .../gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.h | 2 + .../drm/amd/display/dc/dml2/display_mode_core.c | 16 +-- .../amd/display/dc/dml2/dml2_translation_helper.c | 60 +++++--- drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h | 2 + .../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 6 +- .../gpu/drm/amd/display/dc/link/link_detection.c | 2 +- drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 3 +- .../link_dp_training_fixed_vs_pe_retimer.c | 6 +- .../dc/link/protocols/link_edp_panel_control.c | 16 +-- .../dc/link/protocols/link_edp_panel_control.h | 1 - drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 1 + .../drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h | 2 + .../amd/include/asic_reg/nbio/nbio_7_11_0_offset.h | 2 + .../include/asic_reg/nbio/nbio_7_11_0_sh_mask.h | 29 ++++ drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 + drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 18 +++ drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 10 ++ drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 5 + drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 5 +- drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 5 +- drivers/gpu/drm/amd/pm/swsmu/smu_internal.h | 1 + drivers/gpu/drm/bridge/panel.c | 17 --- drivers/gpu/drm/drm_gpuvm.c | 2 +- drivers/gpu/drm/drm_prime.c | 33 +++-- drivers/gpu/drm/i915/display/intel_display.c | 3 +- drivers/gpu/drm/i915/display/intel_dp.c | 28 +++- drivers/gpu/drm/i915/gt/intel_engine_user.c | 39 ++--- .../nvrm/535.113.01/nvidia/generated/g_os_nvoc.h | 2 +- drivers/gpu/drm/nouveau/nouveau_bo.c | 5 +- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 6 +- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 1 + drivers/gpu/drm/panel/panel-novatek-nt36523.c | 4 +- include/drm/drm_gpuvm.h | 2 +- include/drm/drm_prime.h | 7 + include/linux/dma-fence.h | 15 ++ 67 files changed, 537 insertions(+), 302 deletions(-)