From patchwork Fri Nov 18 20:35:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dave Airlie X-Patchwork-Id: 13048765 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16736C4332F for ; Fri, 18 Nov 2022 20:36:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 362FB89D39; Fri, 18 Nov 2022 20:36:04 +0000 (UTC) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by gabe.freedesktop.org (Postfix) with ESMTPS id 41EA189D39 for ; Fri, 18 Nov 2022 20:36:00 +0000 (UTC) Received: by mail-qt1-x831.google.com with SMTP id l2so3888820qtq.11 for ; Fri, 18 Nov 2022 12:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/PS8PtMZv09FUYyVTH41uxwQ4vAsmTgZ8Noijjjw7uo=; b=Y6coz2ghHbFbSxA9lCIf81JCATs3DIgKOBJK89QKl06hQQ4rTushchsfYQv7/x4rNe nrqhVBM9Mx2q60OqtgmH/47Yo2olf97oEPIsaA5i0FZuujpxqbVRAcRHxOFQ4uPCgoXt NbG8CVfBW7/5xlN3s3JmmYZ9JIQHa8a+LZ1BriFCmkCMa3pBwtU5w4PO7k2pQE7MjfdH MP4MDbe1ZKgYW5QZZMlGJSyj4HTyQrxF/kofTkjbLFthMwoW4IpqpMcCdLVRaCsD8vNw NAnTBM1KXpSdOu8WwMIHqMj0uq1qG+VCm7hkpXqHgtjyBb6nsYN6Sy8ev4u0/a2NSIRQ ngGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/PS8PtMZv09FUYyVTH41uxwQ4vAsmTgZ8Noijjjw7uo=; b=EIYDTobeFFUPs070QAkkgJnrbu24wHca8tFIqVjOQgvm1EZm9+fAxevl2ceELmCGov fhHo+S7A+UDP4jZYTkqVpjilv7X0u08gRE9HJF6IgKzsgXQR1KgIPpipz3BM5bZTCZVy +/WC8NHJ4ZpZtaaeaEDPmDcTWi6tBux8Du28nOLcNRd/WD3qIoXPZlM7wQlsVMcQ5yk3 OV4G35AsLw4fBNbrgRmWT1cK5GgwFHt01ayhJEmeDs9/29z5TOVHMogIK1jYbm46P3cE BH4y/yTF4F9XsvscXNnDoV4FAKqdhS+DX2h6W455sGWAUjENwJZJbHpfKMnRi1ghvfrj rmFA== X-Gm-Message-State: ANoB5pnYA/Oqb7Q5yvyNDVDYrpD6xfkCAowyNfwisWXSYnYkIjObzcBa O/OMtuqtIp1idCdSWNhE2+dktCKz7y8/soVBy3o= X-Google-Smtp-Source: AA0mqf6WCtp0olKAxkzVD61/rSgoyPpZOW3byCDhvxL8KyxeXLLOhzzBorwaDL0TvqkQQvqEqQst/avgPJ2od0QcwKw= X-Received: by 2002:ac8:5501:0:b0:3a5:cb82:109b with SMTP id j1-20020ac85501000000b003a5cb82109bmr8368799qtq.61.1668803759221; Fri, 18 Nov 2022 12:35:59 -0800 (PST) MIME-Version: 1.0 From: Dave Airlie Date: Sat, 19 Nov 2022 06:35:47 +1000 Message-ID: Subject: [git pull] drm fixes for v6.1-rc6 To: Linus Torvalds , Daniel Vetter , dri-devel , LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Linus, I guess the main question is are things settling down, and I'd say kinda, these are all pretty small fixes, nothing big stands out really, just seems to be quite a few of them. Mostly amdgpu and core fixes, with some i915, tegra, vc4, panel bits. Dave. drm-fixes-2022-11-19: drm fixes for 6.1-rc6 core: - Fix potential memory leak in drm_dev_init() - Fix potential null-ptr-deref in drm_vblank_destroy_worker() - Revert hiding unregistered connectors from userspace, as it breaks on DP-MST. - Add workaround for DP++ dual mode adaptors that don't support i2c subaddressing. i915: - Fix uaf with lmem_userfault_list handling amdgpu: - gang submit fixes - Fix a possible memory leak in ganng submit error path - DP tunneling fixes - DCN 3.1 page flip fix - DCN 3.2.x fixes - DCN 3.1.4 fixes - Don't expose degamma on hardware that doesn't support it - BACO fixes for SMU 11.x - BACO fixes for SMU 13.x - Virtual display fix for devices with no display hardware amdkfd: - Memory limit regression fix tegra: - tegra20 GART fix vc4: - Fix error handling in vc4_atomic_commit_tail() lima: - Set lima's clkname corrrectly when regulator is missing. panel: - Set bpc for logictechno panels. The following changes since commit 094226ad94f471a9f19e8f8e7140a09c2625abaa: Linux 6.1-rc5 (2022-11-13 13:12:55 -0800) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-11-19 for you to fetch changes up to b1010b93fe9074f965ebf86e0e382a8a7a71500d: Merge tag 'drm/tegra/for-6.1-rc6' of https://gitlab.freedesktop.org/drm/tegra into drm-fixes (2022-11-19 06:15:37 +1000) ---------------------------------------------------------------- drm fixes for 6.1-rc6 core: - Fix potential memory leak in drm_dev_init() - Fix potential null-ptr-deref in drm_vblank_destroy_worker() - Revert hiding unregistered connectors from userspace, as it breaks on DP-MST. - Add workaround for DP++ dual mode adaptors that don't support i2c subaddressing. i915: - Fix uaf with lmem_userfault_list handling amdgpu: - gang submit fixes - Fix a possible memory leak in ganng submit error path - DP tunneling fixes - DCN 3.1 page flip fix - DCN 3.2.x fixes - DCN 3.1.4 fixes - Don't expose degamma on hardware that doesn't support it - BACO fixes for SMU 11.x - BACO fixes for SMU 13.x - Virtual display fix for devices with no display hardware amdkfd: - Memory limit regression fix tegra: - tegra20 GART fix vc4: - Fix error handling in vc4_atomic_commit_tail() lima: - Set lima's clkname corrrectly when regulator is missing. panel: - Set bpc for logictechno panels. ---------------------------------------------------------------- Aishwarya Kothari (1): drm/panel: simple: set bpc field for logic technologies displays Alex Deucher (1): drm/amdgpu: there is no vbios fb on devices with no display hw (v2) Candice Li (1): drm/amdgpu: Add psp_13_0_10_ta firmware to modinfo Christian König (1): drm/amdgpu: use the last IB as gang leader v2 Dave Airlie (4): Merge tag 'drm-misc-fixes-2022-11-17' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2022-11-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Merge tag 'amd-drm-fixes-6.1-2022-11-16' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm/tegra/for-6.1-rc6' of https://gitlab.freedesktop.org/drm/tegra into drm-fixes Dillon Varone (3): drm/amd/display: Fix prefetch calculations for dcn32 drm/amd/display: use uclk pstate latency for fw assisted mclk validation dcn32 drm/amd/display: Set max for prefetch lines on dcn32 Dong Chenchen (1): drm/amdgpu: Fix memory leak in amdgpu_cs_pass1 Eric Huang (1): drm/amdkfd: Fix a memory limit issue Erico Nunes (1): drm/lima: Fix opp clkname setting in case of missing regulator Evan Quan (3): drm/amd/pm: enable runpm support over BACO for SMU13.0.0 drm/amd/pm: enable runpm support over BACO for SMU13.0.7 drm/amd/pm: fix SMU13 runpm hang due to unintentional workaround Gaosheng Cui (1): drm/vc4: kms: Fix IS_ERR() vs NULL check for vc4_kms George Shen (2): drm/amd/display: Support parsing VRAM info v3.0 from VBIOS drm/amd/display: Fix calculation for cursor CAB allocation Guchun Chen (1): drm/amdgpu: disable BACO support on more cards Matthew Auld (1): drm/i915/ttm: fix uaf with lmem_userfault_list handling Melissa Wen (1): drm/amd/display: don't enable DRM CRTC degamma property for DCE Robin Murphy (1): gpu: host1x: Avoid trying to use GART on Tegra20 Rodrigo Siqueira (1): drm/amd/display: Add HUBP surface flip interrupt handler Roman Li (1): drm/amd/display: Fix optc2_configure warning on dcn314 Shang XiaoJing (2): drm/drv: Fix potential memory leak in drm_dev_init() drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker() Simon Rettberg (1): drm/display: Don't assume dual mode adaptors support i2c sub-addressing Simon Ser (1): Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL" Stylon Wang (2): drm/amd/display: Fix access timeout to DPIA AUX at boot time drm/amd/display: Fix invalid DPIA AUX reply causing system hang drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 29 ++++++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 41 +++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 32 +++++++++++--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 6 --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 10 ++++- drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 30 +++++++++++++ drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c | 1 + .../gpu/drm/amd/display/dc/dcn314/dcn314_optc.c | 2 +- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 14 +++--- .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 16 ++++++- .../amd/display/dc/dml/dcn32/display_mode_vba_32.c | 2 + .../amd/display/dc/dml/dcn32/display_mode_vba_32.h | 2 + .../dc/dml/dcn32/display_mode_vba_util_32.c | 7 ++- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 23 +++++----- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 8 ++++ drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0.h | 10 +---- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 11 ++--- .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 ++ drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 9 ++++ .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 30 ++++++++++++- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 30 ++++++++++++- drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 51 ++++++++++++---------- drivers/gpu/drm/drm_drv.c | 2 +- drivers/gpu/drm/drm_internal.h | 3 +- drivers/gpu/drm/drm_mode_config.c | 3 -- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 6 +-- drivers/gpu/drm/lima/lima_devfreq.c | 15 ++++--- drivers/gpu/drm/panel/panel-simple.c | 2 + drivers/gpu/drm/tegra/drm.c | 4 ++ drivers/gpu/drm/vc4/vc4_kms.c | 8 ++-- drivers/gpu/host1x/dev.c | 4 ++ 37 files changed, 310 insertions(+), 116 deletions(-)