From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3491EC35247 for ; Wed, 5 Feb 2020 15:40:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 04A7D20730 for ; Wed, 5 Feb 2020 15:40:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IcoCQJ4M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04A7D20730 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC27689B61; Wed, 5 Feb 2020 15:40:10 +0000 (UTC) Received: from mail-yw1-xc33.google.com (mail-yw1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD17789B61; Wed, 5 Feb 2020 15:40:09 +0000 (UTC) Received: by mail-yw1-xc33.google.com with SMTP id z141so2657576ywd.13; Wed, 05 Feb 2020 07:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bohzs8AwVgU2iFXq9B+9l3fxUImITlOT2NR+ughqP3k=; b=IcoCQJ4MeoflC721q6eA6SRzmBuAGPJD8dhg3Hz1uO9ozSY8AzlpNZ3TzUODDZ5AHr tik7H5ugp6VsDpFQb8SnQLGB8ESnyqUrK1FHIBJ/00IKP++2locgsINIwEfnchRO9y+l OWO5xKZgC1g+S35Ob0KmvqpEXicMR7cDgyArBvKgk8aI193sLE6nL87ej2IT21Rnd9YH 56jsvFI7JMNSsAjd43Y/sCv86uI1ksn3wD3b3CvPZ+fpk36sYikeyRK5N7eel6UjAxBT fWDjm45wI7rzdi9esMlbTczlNuavkmrnofg/Q/EbNrBWzHhwCTNxt8CsWvH+AwDEbQHw 63Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bohzs8AwVgU2iFXq9B+9l3fxUImITlOT2NR+ughqP3k=; b=K56IEYB/QUkIK8WTb+kFtb6uvaUHa0ZwJQywIKas1seOnplztDmVaz212p94zzK+4H a3ejazBZsZ87hoeiGU64nCnx79n9jQs2T0/liWd5yCTO/TK+BsgHzhexcI4z9mjl59dV 4PT3Ive+CxgI7cn2+zGCS2LzVcQdaA+kNjb09MbE6PMV9502Z+l5g16fa+1fvUyAP3Qj JVQM3TAo6qB2uZuP2EDukRWANody24GbSumUmFmh5wyEFuT80UMdIsIAdCG6e1CbZqKG vjeZlJMJLESlqDskbuKQNiZOeDuZB+U0JpV3A5PZKoD+K9ksF1VEZ+HxeeG3jlX/P2mJ 4+dA== X-Gm-Message-State: APjAAAXWHc7GE9CqtBv7XgQIsF93H+bbSFE56/kbQ9cwoUTfgU3O1RTD m+LyMPX0p/7MSgKy3Tmvg7q1S3fp X-Google-Smtp-Source: APXvYqyjteGbAvFxSbDJ5em3/tkhD/fGCA/rY5wPLQYEm0pg25BxqZ2ohwwgPzFErFNxHa1SEn0MXg== X-Received: by 2002:a25:c6c5:: with SMTP id k188mr31164121ybf.204.1580917208710; Wed, 05 Feb 2020 07:40:08 -0800 (PST) Received: from tr4.amd.com (atlvpn.amd.com. [165.204.84.11]) by smtp.gmail.com with ESMTPSA id q185sm61256ywh.61.2020.02.05.07.40.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2020 07:40:08 -0800 (PST) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 00/15] amdgpu: remove load and unload callbacks (v2) Date: Wed, 5 Feb 2020 10:39:45 -0500 Message-Id: <20200205154000.536145-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Deucher Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" These are deprecated and the drm will soon start warning when drivers still use them. It was a long and twisty road, but seems to work. v2: Add additional patch (13/15) which should fix the crash reported by Thomas Zimmermann. Alex Deucher (15): drm/amdgpu: rename amdgpu_debugfs_preempt_cleanup drm/amdgpu/ttm: move debugfs init into core amdgpu debugfs drm/amdgpu/pm: move debugfs init into core amdgpu debugfs drm/amdgpu/sa: move debugfs init into core amdgpu debugfs drm/amdgpu/fence: move debugfs init into core amdgpu debugfs drm/amdgpu/gem: move debugfs init into core amdgpu debugfs drm/amdgpu/regs: move debugfs init into core amdgpu debugfs drm/amdgpu/firmware: move debugfs init into core amdgpu debugfs drm/amdgpu: don't call drm_connector_register for non-MST ports drm/amdgpu/display: move debugfs init into core amdgpu debugfs drm/amd/display: move dpcd debugfs members setup drm/amdgpu/display: add a late register connector callback drm/amdgpu/display: split dp connector registration drm/amdgpu/ring: move debugfs init into core amdgpu debugfs drm/amdgpu: drop legacy drm load and unload callbacks .../gpu/drm/amd/amdgpu/amdgpu_connectors.c | 11 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 67 ++++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 17 ----- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 13 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 3 - drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 9 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 15 +---- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 4 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 14 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 3 + drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 8 +-- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 1 - .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 26 +++---- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 3 + .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 13 ++-- 19 files changed, 131 insertions(+), 88 deletions(-) -- 2.24.1 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx