Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1004340iob; Fri, 13 May 2022 19:19:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLZBSyl/z8WUJv+TMADoXVM1ZphypYj/jfTnX64iBRxfP/bmupbSsAm5KTeP2JSil8ES++ X-Received: by 2002:a1c:f30b:0:b0:37b:b5de:c804 with SMTP id q11-20020a1cf30b000000b0037bb5dec804mr17276278wmq.166.1652494741960; Fri, 13 May 2022 19:19:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652494741; cv=pass; d=google.com; s=arc-20160816; b=Y+edZ+nwRhNF9LuQyxLWsT32xdDGdSbXCD9cniqXeAly9koHOqBZmfC1nmQ0Li440N UVOx/N+WX5bCZ+cBjlz8NjZ6oH+inuU/V+/POkGvt+lZJua145o/r/otF/62wCvxbML9 W8I68TtKSu4l1CcGbKT+Q2TEVIUKQHVn7kCP54vFN6EEP+26bcGe54j/WTkzpyF/iLk6 hyDb0Wb1j1UKcmW0CeQMrGNgIf5guFykuW8bLl/uUdnIgTOaZwlOCEU/Tpcn6K/EMWV5 tIbfyYhmEEc+5uG4/GgxLWCskqizzRR4Zpw6EF0QBiIlKwgRHsePk4L5YxJW/nPzbkur c5PQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=u3RjInYZBHWdKjhxEbjU2gHVisuxzL7N8uK/YEVJTg4=; b=tOpY9k6shm8g124jAbGeYjOQhul+8vwP+z+Pd6w0GH2ezwf0TPY1xL+6sltRlmP3Bd VL24po+iDSJ9WhL4b+ARrFJzgDbdMPeHxNVMY/XqvlAF5N2J8/YOBfOYjnPu7MKwvMzf rHXI0UES5Ch5n6i6hdgBW6u7chXMCLcwMQW9whd4sfWFYowL8DsfuZztTk0JuBg9vb4O Boz05+rG2ETQs585ZaFBIRAImJOo2uSA/4uUF5eAm0SBaD6CcWNc0kPEhcI+nVaLYdBa DsLGOOINHl66j+ni9C2iX4jwa2C92tp7dX2kpXIxt5pCIMn2+LKM+8vwYeeubhkj/x0s WvRA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=JY87c+K9; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h21-20020a05600c351500b0039452d87ddasi4100187wmq.208.2022.05.13.19.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=JY87c+K9; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C971433A258; Fri, 13 May 2022 17:35:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350223AbiELGSB (ORCPT + 99 others); Thu, 12 May 2022 02:18:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234728AbiELGR7 (ORCPT ); Thu, 12 May 2022 02:17:59 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2043.outbound.protection.outlook.com [40.107.220.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B41134E14 for ; Wed, 11 May 2022 23:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EFYrPYMRG4cTZzIEPKjiTXm0Kn23hRX42XOiPdnQd3XMTPUoVb7oHo81bFQVqdrP4JbBuCkUNxBxbtXonOZHn6gm0Zyut7sy3OuqTl12EgTla6cwbWITypsDConMpYxffLEB3/g9hLFifXBexoY9v1USLkTXf1A9eKSV3gzhgYnp74qo63gbrLwvAhT7Mut0PJl1puJ8agEjZYEQyFeKeAX+fz1bAESaQkxDDiNm3eSP0bwsZXYDkS4Z0IFLUCtMinZVR2okW/jzIulNg0dhpyMaC5YoeNyQ/zOaRZk003vm8pGVyeQIc35Aa/LHqAaZx9Y5DTeP8hfyHkudgASZfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u3RjInYZBHWdKjhxEbjU2gHVisuxzL7N8uK/YEVJTg4=; b=HHciG8vrOpc0MM7PAmguK78K+mU8MEDFCnZSC2mOX1TMsrtUF5JQxCgzsxUPK8yJW/0pdzxaRD2/6Q3BPWJRoh2IV4SGO1VNHb6lovPVla18Z+ITxLIPyruhQrrRjHsCmApl35RwOZ5uqrHNhfeLLV0/mxw2edZTqz36uRQSny5z2dbTXNOaIjJcYLQfyQivNQS0krqG6/QosM0xByRDtCQszFdtz35HvRd4oOsTdBVDWyT0fq7GSvie4Q29zRtqXfb8Yjw7qQ+wSZTAaNCAA/AerCYT/QDUWGfGJqxlaWOCWHSu6z24q1peTACi4q9qTeRGz9dR54/1+rwVd5MnOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u3RjInYZBHWdKjhxEbjU2gHVisuxzL7N8uK/YEVJTg4=; b=JY87c+K9oOyPflQPf+D+ifUmDvBWzM756avIw4Emtdy2dmOMnEFkV62XVCb3zmEBvyVIVWSfye4ghUm8GNC0VwKXVRprTEVybj+CEXPuQ33rq658/OWk7IP8mOPSeae/k6MbM5uinhmtaPU67LyPQO2fF56/m8xpFSGKxlTPxgg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) by MN0PR12MB6222.namprd12.prod.outlook.com (2603:10b6:208:3c2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.22; Thu, 12 May 2022 06:17:55 +0000 Received: from BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::fdba:2c6c:b9ab:38f]) by BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::fdba:2c6c:b9ab:38f%4]) with mapi id 15.20.5227.024; Thu, 12 May 2022 06:17:53 +0000 Message-ID: Date: Thu, 12 May 2022 08:17:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] drm/amdgpu: Add 'modeset' module parameter Content-Language: en-US To: Alex Deucher , Lyude Paul Cc: amd-gfx list , Andrey Grodzovsky , David Airlie , "Pan, Xinhui" , open list , "open list:DRM DRIVERS" , Solomon Chiu , Kai-Heng Feng , Mario Limonciello , Daniel Vetter , Alex Deucher , Evan Quan References: <20220511181935.810735-1-lyude@redhat.com> From: =?UTF-8?Q?Christian_K=c3=b6nig?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0006.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::16) To BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 64a0d01f-e4c7-4001-00a2-08da33df2568 X-MS-TrafficTypeDiagnostic: MN0PR12MB6222:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C3Vrxe/60FAD6N2c87ZEGyVnPlTPu5qBFQUo9IvfO3oyhjyhfv3opxbmkqug+OrA0UZBYvSKvN1+N+/SqwOsbT9EweFiUVIyjoAVwWHyfh1edgaBBc6yNepLVbKA4L7w2GsKwgTYr4CmsnWKOxjVUzmaZMckXMoN9ncYlTniMvHJ4aq8QpM6o2r2oVt97PW0e/KQ4JxqxU6TOf9a9ump3WcfSU40oUHVWmf9lwkrexzABvO1dU0gr9E0F4mMAhf7oKxhsLyviEvaEDj9h6v38lPHfwlhi7ed0+s0oECUJqZSN+XoVduPdNWgEPERdrEuZaNT1CdOVcaH+fGqLLAwZCzkb9HcV7ffk2V+tONYNZpTteDh5Eas0edpfNnOmHA0JIszfluiZSZTvW+8u6n90MdAgr/Ym1RllSkxDjs6QfGBkYO8N2N7/2cka9PG+KFYSPOFRx9+gvqtiz6ZRl/VmtjSG824bNHigN285B2lDNOPxLOsR/Ul5pS2CnyTOlkqRvoZUPA9MkAhBdBrMBdXSIRTiQEmIBQJ4L6h16jQ70UHWPO+8/YJ2pref4zJR3B62oV/JoJkEbuXyQloOO4x8YWXo9hs9HcZETTbWs8SFNYcXTx6CzzH+kU7yeziNAHKOfMP5iCvsU0JhUSZIc3pGR20/XcAO9AXg0hn2p7noUnBfP0CZWhgXyw21Md5tLHZMS9bPeyPwn6OR6AehRt8zEvG9tD729HIRhSaW46wsfg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB3587.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(36756003)(316002)(6666004)(54906003)(2616005)(186003)(31686004)(5660300002)(110136005)(83380400001)(31696002)(86362001)(4326008)(66476007)(66556008)(6512007)(26005)(8676002)(38100700002)(66946007)(53546011)(508600001)(2906002)(6486002)(6506007)(8936002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MXBDc0dac0VnakFHSk92WE1kL2l5NmpOQVNVa3ZlVVdva3dNUnZiamt3YWJr?= =?utf-8?B?aTFFZkNLZVYzdjh4cHIvZWd3YWFhVDhtSUdyejdmeTEzaCtpcDB5a3QwcHNH?= =?utf-8?B?UHYzUzdEZWpMajBtT1UvTVpURzVrZEpFOHFYUnRKNTZBNFFUYXZiOWJxK3M3?= =?utf-8?B?M1NPUUd0NnFldFMwQnc4ZGFzQ1VJaTVHWHErZVZUR3Q1OHpXUy95QVF6ZHpS?= =?utf-8?B?WjloRmNMSGoyakN3QStuWXlDZGErNWU0NnJ6QzgzSWVVSVZISXQxT1NMSUtB?= =?utf-8?B?NmRmOVEwL014eUhtREp3Qm16SmlucXdQaEZlTUtrOHNtNUhQcHhQd1JFWDVS?= =?utf-8?B?SnI5ZnliS3g0TGNTNk40ZVZRZWpmN1I3L2hIRDVNVERVUzVGVjhSWXR4Zm5G?= =?utf-8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HZZMXNxZFBYRkxjbm9ZZnJU?= =?utf-8?B?T2dja282Z0xkaUF6aXA2TitJUEJoM2hlWTRjTkNPRjd6LzFDamhiSlZDQWox?= =?utf-8?B?SHJXckdqTm5aR1NvR1VBM2toMHRuaFRSVFpTY1NDcjYvM3MzS3JyUT09?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 64a0d01f-e4c7-4001-00a2-08da33df2568 X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB3587.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2022 06:17:52.7611 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jkLcLrl6ISU4fTc4XPaOYplxmc0h3NuWTu7wFuCAyd2NSK0C+6s5BcrNhaHH/IWs X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6222 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 11.05.22 um 20:36 schrieb Alex Deucher: > On Wed, May 11, 2022 at 2:20 PM Lyude Paul wrote: >> Many DRM drivers feature a 'modeset' argument, which can be used to >> enable/disable the entire driver (as opposed to passing nomodeset to the >> kernel, which would disable modesetting globally and make it difficult to >> load amdgpu afterwards). Apparently amdgpu is actually missing this >> however, so let's add it! > You can already do that by passing modprobe.blacklist=amdgpu on the > kernel command line. I don't think we need another option to do that. Yeah, this already came up multiple times and so far we have always rejected it. Stuffing that into drivers is not a good approach I think. If we want to prevent some device from exposing it's display functionalities we should rather push that into the drm layer. Regards, Christian. > > >> Keep in mind that this currently just lets one enable or disable amdgpu, I >> haven't bothered adding a headless mode like nouveau has - however I'm sure >> someone else can add this if needed. > You can do this as well by passing an IP block mask which disables the > display IP, or media IP, etc. > > Alex > >> Signed-off-by: Lyude Paul >> --- >> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++++++++++++ >> 1 file changed, 14 insertions(+) >> >> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c >> index ebd37fb19cdb..24e6fb4517cc 100644 >> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c >> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c >> @@ -872,6 +872,15 @@ MODULE_PARM_DESC(smu_pptable_id, >> "specify pptable id to be used (-1 = auto(default) value, 0 = use pptable from vbios, > 0 = soft pptable id)"); >> module_param_named(smu_pptable_id, amdgpu_smu_pptable_id, int, 0444); >> >> +/** >> + * DOC: modeset (int) >> + * Used to enable/disable modesetting for amdgpu exclusively. >> + */ >> +bool amdgpu_enable_modeset = true; >> +MODULE_PARM_DESC(modeset, >> + "Enable or disable display driver (1 = on (default), 0 = off"); >> +module_param_named(modeset, amdgpu_enable_modeset, bool, 0444); >> + >> /* These devices are not supported by amdgpu. >> * They are supported by the mach64, r128, radeon drivers >> */ >> @@ -2003,6 +2012,11 @@ static int amdgpu_pci_probe(struct pci_dev *pdev, >> bool is_fw_fb; >> resource_size_t base, size; >> >> + if (!amdgpu_enable_modeset) { >> + DRM_INFO("modeset=0 passed to amdgpu, driver will not be enabled\n"); >> + return -ENODEV; >> + } >> + >> /* skip devices which are owned by radeon */ >> for (i = 0; i < ARRAY_SIZE(amdgpu_unsupported_pciidlist); i++) { >> if (amdgpu_unsupported_pciidlist[i] == pdev->device) >> -- >> 2.35.1 >>