Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp356209rwb; Thu, 12 Jan 2023 21:23:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXsEXpL20GMkBSt5jq+FLvR9Cmsx34dGNsPImOYx934Qmwgvbzcen1zBchfBgHHcYr4G3G3K X-Received: by 2002:a17:907:3e96:b0:7c4:f501:e5b1 with SMTP id hs22-20020a1709073e9600b007c4f501e5b1mr89705107ejc.51.1673587426920; Thu, 12 Jan 2023 21:23:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673587426; cv=none; d=google.com; s=arc-20160816; b=J1WsEfBIOFRDJeSxRcx5vuNBSpupyCmN8RGoywQ7PIXNUwbYxo/yyqNElRu236DFad SC/2H99nSPVFBLd/t2iLZf8Z1EhsTCP8Ggcdbsjn3AiecR1owN5RZZywkl7717pTp8R2 OXcPhBaTy7D2034/ydVmVH7DsBIG3RE+Th4XOH0VlNV95R/Da4I4HyFo0cL5uUClxCWP zwriFr5qZzcoHmafe4Sw+eRXVeM9oNuhtKwVnImnE4KNQIZQ6+ToO/yJWWrBltbgk8i0 awHeXA+gpKIx5S7HU2wzPW5oxwDWKNRm10doG2FubkyOV0o8ry7gjMBujuGgLQMbe2lc VQcA== 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=E5f8Tk8nG32JDX610wYSz4l32RwyWxZLZ7Rx+rniEqA=; b=zpu9tvD017yB1iSq2exRbECkFrEBXpdUfaVFErjXDefOaAQKFT8nx9DYRYimBFX8ys bx1pdXeUfeSxTSQuiuczkskOVM+EHXO7F/LZNH72WaHe0wb2/vv6dFwuldF8IVH2aW2b dIEka8pukiLJNEAlWugio8WtW6DrVJl99rOafSHjXAYv4anEXIHNLeAIZKwyKctAMYU2 eeMti2EXUnei0laA5tksAPbDhZ0uO0Yo6IfdEYVzjDIiNIyJwgid/2oJG/ol4l19v/5q Q1KMzvxHmKug61LQCO5eRiDMsIEFgJ324qdUQOkLovCB9ry/uAhptq/wI2zoavXnZPs4 Kcsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TLQvpDF3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd32-20020a17090796a000b0086a76383bbdsi1087976ejc.44.2023.01.12.21.23.33; Thu, 12 Jan 2023 21:23:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TLQvpDF3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231657AbjAMFPg (ORCPT + 52 others); Fri, 13 Jan 2023 00:15:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231395AbjAMFPd (ORCPT ); Fri, 13 Jan 2023 00:15:33 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A0F60874 for ; Thu, 12 Jan 2023 21:15:32 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id ud5so49778530ejc.4 for ; Thu, 12 Jan 2023 21:15:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=E5f8Tk8nG32JDX610wYSz4l32RwyWxZLZ7Rx+rniEqA=; b=TLQvpDF3lCjDWdDxkqOQ02L9FABV/4KXq3zJthoJTH85by0OVKDhpuKgjIVTxFbLAC u3DSU/7k1Hs4VjTle56xLH7kxbyHz6ra42KV0RlwpKcFBpYOzqcT9bo6HetfHpJWRMXx wzvxqVCM3uuAzc8GnnevWH1T7fEdHt+INm2GAtIiG4HEGMWgvg/RjF+J4WFagMvNnz9p tIJWPyxL+kK1Wi+cSyZqy1VqljXlCyLaYnFS0BuFVHy+jzLCbyrdSLrEeHHPTAXNoAak 6aOulsIR5vHUP5Egcv9BXAZsfyoSthG+i/D8qvr0SIS1iyIHyTGBozks+CWYFkpQ5His WI0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=E5f8Tk8nG32JDX610wYSz4l32RwyWxZLZ7Rx+rniEqA=; b=nCt95HuOGJvA+WgJtWny0XXR0qGsVc782p9zbYyVRmrzNFvLyu+leA3h3L0Fq3/2jL DfIN4OvkLFEGUs1To3rwxh2YxH1aUAi/q0Nmme4OhEnALRKhiQRqavxWewwgXV8UTFVF thj1+D1gY0Ldsv/uIhDz1DRMC3HRgQVV+CGFAgmzuN7Lelzm/u60lhQavLPNm5lQRc3I FqnR7mU97eno3mBSif0f9SqQG4TWGAFKyij98Fb0/82xAx/6WU2b7xotbPAUCuR4qGwv redG6/nHGdmhkzwMQGTTtRKOUAbI8GeCLkdwTd3S4xt1R0YeF425cjsbbjht9DVOOmPP hCPg== X-Gm-Message-State: AFqh2kpQp3akE4LufReBMBYSh+Q+1qa/42gXDVi9kUxW9tVdQMuqS9Kx 00bE1KjI/fRtBlkeZQ/cXZh3EZqrlGlko04AQ8Dz38s5fls= X-Received: by 2002:a17:907:b610:b0:84d:1e4c:2e9 with SMTP id vl16-20020a170907b61000b0084d1e4c02e9mr1725692ejc.476.1673586930396; Thu, 12 Jan 2023 21:15:30 -0800 (PST) MIME-Version: 1.0 From: Dave Airlie Date: Fri, 13 Jan 2023 15:15:17 +1000 Message-ID: Subject: [git pull] drm fixes for 6.2-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Back from a week off, managed to do a couple of dives (one with happy manta ray about 3-4m away for 5mins). Thanks to Daniel for taking care of fixes last week. There is a bit of a post-holiday build up here I expect, small fixes across the board, amdgpu and msm being the main leaders, with others having a few. One code removal patch for nouveau. Regards, Dave. drm-fixes-2023-01-13: drm fixes for 6.2-rc4 buddy: - benchmark regression fix for top-down buddy allocation panel: - add Lenovo panel orientation quirk ttm: - fix kernel oops regression amdgpu: - fix missing fence references - fix missing pipeline sync fencing - SMU13 fan speed fix - SMU13 fix power cap handling - SMU13 BACO fix - Fix a possible segfault in bo validation error case - Delay removal of firmware framebuffer - Fix error when unloading amdkfd: - SVM fix when clearing vram - GC11 fix for multi-GPU i915: - Reserve enough fence slot for i915_vma_unbind_vsync - Fix potential use after free - Reset engines twice in case of reset failure - Use multi-cast registers for SVG Unit registers msm: - display: - doc warning fixes - dt attribs cleanups - memory leak fix - error handling in hdmi probe fix - dp_aux_isr incorrect signalling fix - shutdown path fix - accel: - a5xx: fix quirks to be a bitmask - a6xx: fix gx halt to avoid 1s hang - kexec shutdown fix - fix potential double free vmwgfx: - drop rcu usage to make code more robust virtio: - fix use-after-free in gem handle code nouveau: - drop unused nouveau_fbcon.c The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262= : Linux 6.2-rc3 (2023-01-08 11:49:43 -0600) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-01-13 for you to fetch changes up to e695bc7e542358978434c8489a5a164d2bbefae8: Merge tag 'drm-msm-fixes-2023-01-12' of https://gitlab.freedesktop.org/drm/msm into drm-fixes (2023-01-13 13:01:22 +1000) ---------------------------------------------------------------- drm fixes for 6.2-rc4 buddy: - benchmark regression fix for top-down buddy allocation panel: - add Lenovo panel orientation quirk ttm: - fix kernel oops regression amdgpu: - fix missing fence references - fix missing pipeline sync fencing - SMU13 fan speed fix - SMU13 fix power cap handling - SMU13 BACO fix - Fix a possible segfault in bo validation error case - Delay removal of firmware framebuffer - Fix error when unloading amdkfd: - SVM fix when clearing vram - GC11 fix for multi-GPU i915: - Reserve enough fence slot for i915_vma_unbind_vsync - Fix potential use after free - Reset engines twice in case of reset failure - Use multi-cast registers for SVG Unit registers msm: - display: - doc warning fixes - dt attribs cleanups - memory leak fix - error handing in hdmi probe fix - dp_aux_isr incorrect signalling fix - shutdown path fix - accel: - a5xx: fix quirks to be a bitmask - a6xx: fix gx halt to avoid 1s hang - kexec shutdown fix - fix potential double free vmwgfx: - drop rcu usage to make code more robust virtio: - fix use-after-free in gem handle code nouveau: - drop unused nouveau_fbcon.c ---------------------------------------------------------------- Adam Skladowski (1): dt-bindings: display: msm: Rename mdss node name in example Akhil P Oommen (1): drm/msm/a6xx: Avoid gx gbit halt during rpm suspend Arunpravin Paneer Selvam (1): drm: Optimize drm buddy top-down allocation method Bryan O'Donoghue (4): dt-bindings: msm: dsi-phy-28nm: Add missing qcom, dsi-phy-regulator-ldo-mode dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constr= aint dt-bindings: msm: dsi-controller-main: Fix power-domain constraint dt-bindings: msm: dsi-controller-main: Fix description of core clock Chris Wilson (1): drm/i915/gt: Reset twice Christian K=C3=B6nig (3): drm/amdgpu: fix another missing fence reference in the CS code drm/amdgpu: fix missing dma_fence_put in error path drm/amdgpu: fix pipeline sync v2 Christophe JAILLET (1): drm/msm/hdmi: Fix the error handling path of msm_hdmi_dev_probe() Dave Airlie (4): Merge tag 'drm-misc-fixes-2023-01-12' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'amd-drm-fixes-6.2-2023-01-11' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-intel-fixes-2023-01-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Merge tag 'drm-msm-fixes-2023-01-12' of https://gitlab.freedesktop.org/drm/msm into drm-fixes Dmitry Baryshkov (1): drm/msm: another fix for the headless Adreno GPU Eric Huang (2): drm/amdkfd: Add sync after creating vram bo drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU Evan Quan (2): drm/amd/pm: correct the reference clock for fan speed(rpm) calculatio= n drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7 Guchun Chen (1): drm/amd/pm/smu13: BACO is supported when it's in BACO state Gustavo Sousa (1): drm/i915/gt: Cover rest of SVG unit MCR registers Konrad Dybcio (3): dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY dt-bindings: msm/dsi: Don't require vdds-supply on 10nm PHY drm/msm/adreno: Make adreno quirks not overwrite each other Kuogee Hsieh (1): drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer Luben Tuikov (1): drm/amdgpu: Fix potential NULL dereference Mario Limonciello (1): drm/amd: Delay removal of the firmware framebuffer Miaoqian Lin (1): drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path Nirmoy Das (1): drm/i915: Reserve enough fence slot for i915_vma_unbind_async Patrick Thompson (1): drm: Add orientation quirk for Lenovo ideapad D330-10IGL Rob Clark (2): drm/i915: Fix potential context UAFs drm/virtio: Fix GEM handle creation UAF Thomas Zimmermann (1): drm/nouveau: Remove file nouveau_fbcon.c Yang Li (1): drm/msm/dpu: Fix some kernel-doc comments YiPeng Chai (1): drm/amdgpu: Fixed bug on error when unloading amdgpu Zack Rusin (2): drm/vmwgfx: Remove rcu locks from user resources drm/ttm: Fix a regression causing kernel oops'es .../bindings/display/msm/dsi-controller-main.yaml | 4 +- .../bindings/display/msm/dsi-phy-10nm.yaml | 1 - .../bindings/display/msm/dsi-phy-14nm.yaml | 1 - .../bindings/display/msm/dsi-phy-28nm.yaml | 4 + .../bindings/display/msm/qcom,qcm2290-mdss.yaml | 2 +- .../bindings/display/msm/qcom,sm6115-mdss.yaml | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 51 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 - drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 9 + drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 8 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 1 + .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 + drivers/gpu/drm/drm_buddy.c | 81 ++- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 + drivers/gpu/drm/i915/gem/i915_gem_context.c | 24 +- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 4 +- drivers/gpu/drm/i915/gt/intel_reset.c | 34 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 4 +- drivers/gpu/drm/i915/i915_vma.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 15 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 7 + drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 1 + drivers/gpu/drm/msm/adreno/adreno_gpu.h | 10 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 3 +- drivers/gpu/drm/msm/dp/dp_aux.c | 4 + drivers/gpu/drm/msm/hdmi/hdmi.c | 12 +- drivers/gpu/drm/msm/msm_drv.c | 2 +- drivers/gpu/drm/msm/msm_mdss.c | 6 +- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 613 -----------------= ---- drivers/gpu/drm/ttm/ttm_bo_util.c | 2 +- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 19 +- drivers/gpu/drm/vmwgfx/ttm_object.c | 41 +- drivers/gpu/drm/vmwgfx/ttm_object.h | 14 - drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 38 -- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 18 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 176 +++--- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 33 -- 43 files changed, 332 insertions(+), 950 deletions(-) delete mode 100644 drivers/gpu/drm/nouveau/nouveau_fbcon.c