Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1497727ybt; Thu, 2 Jul 2020 07:02:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtRMUi41kvgayShiqxcUVbosZxgKLBaTQC4yz/ZBkrOlw1JGtxPyI57q6ftT4QwEJsqNHp X-Received: by 2002:a17:906:9348:: with SMTP id p8mr3924982ejw.467.1593698538635; Thu, 02 Jul 2020 07:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593698538; cv=none; d=google.com; s=arc-20160816; b=GGyD7RYmL0WPTfWKOxoiUgAKCPzQpHz5rW31hk7P4bjwWGyKubPcp2v1noM/PBcaCt UgDaInuixJok0VzGw4oKIqfzyrA23cENGeOVnYs7UeetMZEFqX0CrILIhRlkqRecSUFf 3USLq3+UAuwUZe9DzLQQ2iYTbIbErvtYohtNXTeQvWuqCimbSoqeR5Kjssy5jmo6HlyG CjyinsBlmSa+kvbZl/FwcrIcKNGE9ZaUOxn0Cesx9Wu3YuF/Qxet3ziAcQ/hDKACGC2m SosUpdYc7GveGmxevg1gRz9HxFVjSoc8OOrmq+Nnw0inKlR0pNm2fh59BvE/ALEuomzp mfsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=gpMgLXnZQxjj31Cq0ugCYzPC84VVwDJxKUz4oPRCpag=; b=vXlCK6tynyccmBu3hyAvBB2fZi9hzLa8UzXqKFxMGDJOzl7WMF0XCShc57o7ZT4Hjf ELBEXp5C9AnvRX+RF+vK55FEryCWoTzJ2I6/OOdunQtFA8MVj0MSWddUZ3NGgtw10OBm 2p3gbg8C6RdiU6AL7T5A3BOe4KV3N/f5iZ6roWcP6QTbUo38kJIizhqDc1NbqmHUfnm5 fcGC7p4wStTr2cWPpDVJI9AcbGbzGe/OX9HG9hZTpnwrpVpGc1ZUMHBh2DSeiBYs+4GM e29nHilrd0Prb7EXC+3qYo6Fe4ns1LteM1o/qczDzLOQLblr165JP2TWWrP6AtkeSE2V M4YQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si5951269ejd.180.2020.07.02.07.01.54; Thu, 02 Jul 2020 07:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729319AbgGBOBR (ORCPT + 99 others); Thu, 2 Jul 2020 10:01:17 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:60527 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726343AbgGBOBP (ORCPT ); Thu, 2 Jul 2020 10:01:15 -0400 Received: from hopp.molgen.mpg.de (hopp.molgen.mpg.de [141.14.25.186]) by mx.molgen.mpg.de (Postfix) with ESMTP id D2CAF20646DD4; Thu, 2 Jul 2020 16:01:13 +0200 (CEST) From: Paul Menzel To: Linus Torvalds , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= Cc: Paul Menzel , amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] drm/amdgpu: Change type of module param `ppfeaturemask` to hex Date: Thu, 2 Jul 2020 16:01:02 +0200 Message-Id: <20200702140102.26129-2-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200702140102.26129-1-pmenzel@molgen.mpg.de> References: <20200702140102.26129-1-pmenzel@molgen.mpg.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added hex helper is more convenient for bitmasks. Before: $ more /sys/module/amdgpu/parameters/ppfeaturemask 4294950911 After: $ more /sys/module/amdgpu/parameters/ppfeaturemask 0xffffbfff Cc: amd-gfx@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Paul Menzel --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 126e74758a34..35a66b374e3a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -391,12 +391,12 @@ MODULE_PARM_DESC(sched_hw_submission, "the max number of HW submissions (default module_param_named(sched_hw_submission, amdgpu_sched_hw_submission, int, 0444); /** - * DOC: ppfeaturemask (uint) + * DOC: ppfeaturemask (hex) * Override power features enabled. See enum PP_FEATURE_MASK in drivers/gpu/drm/amd/include/amd_shared.h. * The default is the current set of stable power features. */ MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))"); -module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444); +module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, hex, 0444); /** * DOC: forcelongtraining (uint) -- 2.26.2