Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp8085382rdb; Thu, 4 Jan 2024 19:32:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/FGYuGMDlajs7IEzfAgC6dp1/9SF3IMRKFvn8rO6lRZXYeFc9ecukcCx0f4onOngIc2J/ X-Received: by 2002:a50:ab5e:0:b0:557:d32:2028 with SMTP id t30-20020a50ab5e000000b005570d322028mr796243edc.79.1704425536599; Thu, 04 Jan 2024 19:32:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704425536; cv=none; d=google.com; s=arc-20160816; b=PA6hsmvUcsvh5s4MWmgh2uTkhM4k6n2HYpc+EMWkL/xPtHqCTP5NhVun0o/TLpefsk KMeVcS5YusfHcLYlRLX4r/aCSF5A3e15TKN/l+KbcKYf4iJIWu6WpTiiU2/gpDzq2UKk eXsAzY79qVWY875I9hltBr7C2nDbTzZ5KwVRfD73ePfNVuSnMgfZR0C/K/gb8uBQWQjY Fii4oV6Pz/52pka8PNW/U/nKy+cLVwweXOOsCYwg0OfNICHEpNhkbm+/EfOBcgzqdsBt QdGx9U6OlTjhN4lW3hIu21Pa9D+vvbAbPUu+AFQofPku3fA66gKKLcsNXfYIo+buMx0i rW4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=uLgzfsJfzUpir0OOLpo8gXDQBRiZZVIWNzCo/W91Qrc=; fh=vkDv7EUSPCkuZpo4m5Hjgf+3wnv0DMsfRBmsN0DPoPY=; b=VmokoA4b+IxUqx5s7cgUG1kmNHwd/WOvONesFzY9AQal2cLi2PsvE7cONgkQQj3Fz2 OYkhcp+8gDtdb3i7a3TSS3IGKwzPuDGiLM2iG1lJChL5jE0KZulhk8wLe4gv3U9Jv/0l gFVFO6vlWk6d+jzng4WCobUK9c6CsW2nRX3ldLVxheDazhrpN4i3NvHSZ0PYFx0DatES LN5DGEPGPKnOFZePFDTwaDmiizEQ5MZCe9YkXFAdFrMo1Uj3Ytbzha6/NyUoseo81hq9 77QSgWZ1F2RhyqCCJlgVtqt9GSbD+jExizZtNU3eQtCgRWSl5fOiJNBLasFyw+oZLR/d T9ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="bfu/g++O"; spf=pass (google.com: domain of linux-kernel+bounces-17454-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17454-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b14-20020a056402350e00b005533e54351asi306687edd.452.2024.01.04.19.32.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 19:32:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17454-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="bfu/g++O"; spf=pass (google.com: domain of linux-kernel+bounces-17454-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17454-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 244B61F22BB7 for ; Fri, 5 Jan 2024 03:32:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1399B4432; Fri, 5 Jan 2024 03:32:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bfu/g++O" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAD0D4403 for ; Fri, 5 Jan 2024 03:32:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-555936e7018so1344582a12.2 for ; Thu, 04 Jan 2024 19:32:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704425525; x=1705030325; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=uLgzfsJfzUpir0OOLpo8gXDQBRiZZVIWNzCo/W91Qrc=; b=bfu/g++OFJVT8auoUBJlENF7ThwsChX9suqK/KIHP9Loeg2aeWH77764GemqOR68BZ 9v3GudFkcGKLeZDTOuXWLTGp0rin3U3SQXIIZXHRUmteq423tFyca1mlp06wMNWNJ9oF Yd642V0dpzb7TbPMXh4OhGX1zXWLpvHEZLkqPGbjaQwOnOfZhVwdkckUTNHdInn05F3u if7aLiOf1pY+c/s9ePmBD+plOppxNbpdmz4uQ9mUtKUdIo6qiKpugPHa6MveCbNq+1vl jweloy3c/k/ktQ6aG6kr0152RCBhSFzMN52ZqFdKWwNClUOR+THMQJYQL0oxNkycNdOy Ca7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704425525; x=1705030325; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uLgzfsJfzUpir0OOLpo8gXDQBRiZZVIWNzCo/W91Qrc=; b=Nu1ToVZb9McZBosU6WPouTORFE/xCG7jWIm3u4FYcLZ2V50fdrHyvu7uuTsJRvsHQX igzCz4+NLA19wAtqDCpYCK31TU54XEeAJa8+kOuyH38FflzBo1EC+NoP4s64tnliAdJk XZlHYdbWjGF9D62RRTItMew5CvP0LV7yc5cCImG6EJwB6lTNWlsKODzSm+moQDv6iqLw i2K0kIRfP0gfJgop225i8tdapW2PhgjyeB8mZa8uhy+Md1wqbaCDMozCdz3Jyw7Xzllf HsBcO4Kgnl5NVAVuDJoKT20OFCfjl68JvxJeI53dkSED3HMXw/h7FILvNpEM+yUyxFoO bftg== X-Gm-Message-State: AOJu0YwgKBpGfDE+1E5M5FrwTq6opIyCNzSmUq/hjSiaxLI3WEokUNss 0eckMU6o8LWrxU7c9wF3NTBaLWkHBl0xdRPPVJE= X-Received: by 2002:a17:907:9706:b0:a28:e5eb:3f31 with SMTP id jg6-20020a170907970600b00a28e5eb3f31mr856881ejc.80.1704425524788; Thu, 04 Jan 2024 19:32:04 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Dave Airlie Date: Fri, 5 Jan 2024 13:31:53 +1000 Message-ID: Subject: [git pull] drm fixes (part2) for 6.7 final To: Linus Torvalds , Daniel Vetter Cc: dri-devel , LKML Content-Type: text/plain; charset="UTF-8" Hi Linus, Hopefully I got the version numbers right this time. This is the final set of fixes I think, some amdgpu and nouveau. Since I suspect this is a bit larger than you might be comfortable with, I'll give some more info: The amdgpu ones are fairly normal, the one that is a bit large is a fix for a newly introduced IP in 6.7 so unlikely to cause regressions. The nouveau ones are mostly memory leaks and debugging cleanups from the GSP (new nvidia firmware) enablement. There are some GSP changes to the message passing code and a subsequent fix for eDP panel turn on, that means my laptop can turn on the panel in GSP mode. These are fairly low chance of disrupting things since GSP is new in 6.7. The final not all in GSP fix is a deadlock seen with i915/nouveau when GSP is used where the the fence and irq paths have locking inversions, I've pushed some irq enablement out to a workqueue, and this has seen some fairly decent testing. Dave. drm-fixes-2024-01-05: drm fixes for 6.7 final (part 2 - correct version) amdgpu: - DP MST fix - SMU 13.0.6 fixes - Fix displays on macbooks using vega12 - Fix VSC and colorimetry on DP/eDP nouveau: - fix deadlock between fence signalling and irq paths - fix GSP memory leaks - fix GSP leftover debug - hide some GSP callback messages - fix GSP display disable path - fix GSP ACPI interaction - handle errors in ctrl messages - use errors info to fix DP link training The following changes since commit faa21f4c20960fee268bdb0fe977ed0edb6685fe: Merge tag 'drm-misc-fixes-2024-01-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2024-01-04 11:18:32 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-01-05 for you to fetch changes up to eb284f4b37817d2038fdfe1a9d51769730ab7b5f: drm/nouveau/dp: Honor GSP link training retry timeouts (2024-01-05 12:27:53 +1000) ---------------------------------------------------------------- drm fixes for 6.7 final (part 2 - correct version) amdgpu: - DP MST fix - SMU 13.0.6 fixes - Fix displays on macbooks using vega12 - Fix VSC and colorimetry on DP/eDP nouveau: - fix deadlock between fence signalling and irq paths - fix GSP memory leaks - fix GSP leftover debug - hide some GSP callback messages - fix GSP display disable path - fix GSP ACPI interaction - handle errors in ctrl messages - use errors info to fix DP link training ---------------------------------------------------------------- Alex Deucher (2): drm/amd/display: add nv12 bounding box drm/amdgpu: skip gpu_info fw loading on navi12 Asad Kamal (5): drm/amd/pm: Use separate metric table for APU drm/amd/pm: Update metric table for jpeg/vcn data drm/amd/pm: Add mem_busy_percent for GCv9.4.3 apu drm/amd/pm: Add gpu_metrics_v1_5 drm/amd/pm: Use gpu_metrics_v1_5 for SMUv13.0.6 Dave Airlie (10): Merge tag 'amd-drm-fixes-6.7-2024-01-04' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes nouveau/gsp: add three notifier callbacks that we see in normal operation (v2) nouveau/gsp: drop some acpi related debug nouveau: fix disp disabling with GSP nouveau/gsp: free acpi object after use nouveau/gsp: free userd allocation. nouveau/gsp: convert gsp errors to generic errors nouveau/gsp: don't free ctrl messages on errors nouveau/gsp: always free the alloc messages on r535 nouveau: push event block/allowing out of the fence context Joshua Ashton (1): drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP displays without PSR Lyude Paul (2): drm/nouveau/gsp: Fix ACPI MXDM/MXDS method invocations drm/nouveau/dp: Honor GSP link training retry timeouts Wayne Lin (1): drm/amd/display: pbn_div need be updated for hotplug event drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 11 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 11 +- .../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 110 ++++++++++++- .../amd/display/modules/info_packet/info_packet.c | 13 +- drivers/gpu/drm/amd/include/kgd_pp_interface.h | 80 ++++++++++ drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 +- .../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_pmfw.h | 100 +++++++++++- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 153 ++++++++++-------- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 3 + drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h | 17 +- drivers/gpu/drm/nouveau/nouveau_fence.c | 28 +++- drivers/gpu/drm/nouveau/nouveau_fence.h | 5 +- drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c | 6 +- drivers/gpu/drm/nouveau/nvkm/engine/disp/r535.c | 171 +++++++++++++-------- drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 86 +++++++---- 16 files changed, 603 insertions(+), 196 deletions(-)