Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2500161pxb; Mon, 11 Jan 2021 11:11:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxI3Vamv8ayP21Cgz55hDeJHrt/RfQqWtMHDjbJgfpMPa9TYjq4zBIH+FCIX77e1ssE3DhD X-Received: by 2002:a50:b944:: with SMTP id m62mr628339ede.182.1610392318379; Mon, 11 Jan 2021 11:11:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392318; cv=none; d=google.com; s=arc-20160816; b=yBBBfljLPM6KxfmeDuOXI9uxP6fMVoJVX82WPRg7+LxQhLCO2Ta7NSuaqnd+G9QkOz uhgZFynFzJiguT0fnhAbBlPPglmDlpbWxf6GLlI6fhB4oyovAJ6w4+5+ucpll+SgdSOX egh2ON993/OYwOdxxAwMGIsM8PRJz3CbUJsHp+IWww6ZmBVf5sDxtV5cWplF1Ordsyh8 1UGwyso1hgw1630nyAwywGhGI5Smd9lGgmJUtQCCPqKsYPMQtr92yJ3hA/sDlbi+jC8w Awk4XNCwn+b1Y2s9zrvR5BKtACAjW05qIUCJTsYaIfjJJEsDZmPLQTWZRV5JK2tqFBbF Lyew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=59nxlB8VZ+hnhNiWW6MUdoxkOzActMtX+5zF/bfPh1Y=; b=AZQJKxFSJdhcZiYOp5Yez3U/EQflWWFsDUf23MUb2WOli3ByUEJBAkASwQpQENZEId qPKvE4SN6mlCyAaJwFM0/Nk8M5sWhYQkzPp7OcIruSWubQWpgID7Q6Wr1Sm0Myb1nEbx O0UWkCMibD2rdsFgLJNOrYvnfANQQe8JA7YXUTfDRAbw6/yauoaF5P1XIs4tXyo9Iha4 k9ZJRHTPQTkOcwMOomcd563uWQkw9NM/cQkRplqMYfNIvrBeFa/ylR3Qjycga1sOMpEA Mw5e8vh9q+TsE/1paLXE28N1WwnpX5Vgn5k/21D9dlvAW+nqxGtMhAOCXi9zpuB8C3RB hU3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BtHHfhFF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si121068ejy.497.2021.01.11.11.11.35; Mon, 11 Jan 2021 11:11:58 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BtHHfhFF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387690AbhAKTJI (ORCPT + 99 others); Mon, 11 Jan 2021 14:09:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387727AbhAKTJH (ORCPT ); Mon, 11 Jan 2021 14:09:07 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95D9DC061794 for ; Mon, 11 Jan 2021 11:08:27 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id e2so329252plt.12 for ; Mon, 11 Jan 2021 11:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=59nxlB8VZ+hnhNiWW6MUdoxkOzActMtX+5zF/bfPh1Y=; b=BtHHfhFFehHqijgd2JLtWspyu1TNSHowLc8fSW3rAWzcqy6xsNKgsAhQvOrpbpqQGb MXhlAdjtFzXin3c+3JG0FeKcznojdvFnGryg6bBCalkNcW1hAGp352mHCOOqJ3J680aG 1wbKLVVdmHBfvhCdSjdEyL6TBHnwApIUA70rNCENHPcQ2zUg98i7jS/t6aIt853CTidc trm1GssAYCUqOP4MHs5SPfZE7PbMsxdvxirfzVryCLwtxU8+0icOtsf7ld7mVrbOi4Iw Sx82XPsr1PYt3jpH7/lIlfne40Xw2XGTZ3r5n5udYSkR6MoOj5S8LfJ92gV7GKQ3Dif/ obtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=59nxlB8VZ+hnhNiWW6MUdoxkOzActMtX+5zF/bfPh1Y=; b=A4rtduPN+Nrdpa9Oh+s+IrOE3/BC4Rl+vWdxkHSOkq3wnaqmfpVhpSelmNkVyE0iW4 uNWiRSHUtM3soJIfzrmG3Ch3lPub42rjVP0rK3XhlIjQ+O00PIW5mrjrbLDKMfag/Zaa mggYl5/sCrCQjI3NfdpndEha1sgDbAnuv6TJEcDnrTsNn/v0Or5pvmLpB4JGHoCIOpKf 3Pd/LAsJGf6gJ0S5LDRhBi4ciZ78h+gKaHMlf2VkDliFER3V+phgwjE9SI4bMY/fRiwD 8n7UszwX208xRGfninBJBD5ipnuOKXw+wQPpLPQ6CMTuvxTYSD60HHPs14CxsZkYfDaw 4tIw== X-Gm-Message-State: AOAM532/F+d/sFvKM2lN1LZk+CvOZcbO3gDpGJ+eDvJFF5A5Nwa5H8g4 QDaHF5XApSk21kJcvTgztBA= X-Received: by 2002:a17:90a:9483:: with SMTP id s3mr29595pjo.85.1610392107222; Mon, 11 Jan 2021 11:08:27 -0800 (PST) Received: from adolin ([49.207.206.164]) by smtp.gmail.com with ESMTPSA id y9sm133083pjt.37.2021.01.11.11.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:08:26 -0800 (PST) Date: Tue, 12 Jan 2021 00:38:22 +0530 From: Sumera Priyadarsini To: melissa.srw@gmail.com Cc: rodrigosiqueiramelo@gmail.com, hamohammed.sa@gmail.com, daniel@ffwll.ch, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH V5 3/3] drm/vkms: Add information about module options Message-ID: <4fbc6459377c1dcbe8e6648718453d5693f6451c.1610391685.git.sylphrenadin@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update vkms documentation to contain usage of `modinfo` command and steps to load vkms with module options enabled. Signed-off-by: Sumera Priyadarsini --- Documentation/gpu/vkms.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst index 9e030c74a82e..2c9b376da5ca 100644 --- a/Documentation/gpu/vkms.rst +++ b/Documentation/gpu/vkms.rst @@ -35,6 +35,18 @@ Now, to load the driver, use:: On running the lsmod command now, the VKMS driver will appear listed. You can also observe the driver being loaded in the dmesg logs. +The VKMS driver has optional features to simulate different kinds of hardware, +which are exposed as module options. You can use the `modinfo` command +to see the module options for vkms:: + + modinfo vkms + +Module options are helpful when testing, and enabling modules +can be done while loading vkms. For example, to load vkms with cursor enabled, +use:: + + sudo modprobe vkms enable_cursor=1 + To disable the driver, use :: sudo modprobe -r vkms -- 2.25.1