Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp1658520pxb; Sun, 10 Jan 2021 06:09:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzza1tuxtsZ1TlwYVCMFbnIAX2ofaLoduG4JM4moUXD5LvERol8T5NawszxBbqMiUHQzRQO X-Received: by 2002:a17:906:653:: with SMTP id t19mr8139961ejb.44.1610287770409; Sun, 10 Jan 2021 06:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610287770; cv=none; d=google.com; s=arc-20160816; b=n+a9Wai+H5Q+eWA5cjy0L+IObFhz+19JpguecTsjdqV6vGB7JmFHtkvXzB/cSAIKeD etbHoJ3jyNj9OJeBYlrwZLH/oCslyK+BMxHXWFvV/4mpAO97IrynqgT9SFpU6ov1g3U7 TpGiDPv7475/k2yYiHeglFzxmgFn7V9KIZWYcy3QxGsXsYuYxS6adTMFRVliWDZK0i7o apIc18NsC0Xtee/BYEKFF1YMHEbM70fnJ9awcnTBYdixmM34bT1rGTK58jLbXU69rWUX iCTF9sWANkMWaxDtPUKEQHBN2Ju0135UpsUz/o1T7GVUkXfMiyAUUCMQOUh7zLL5rEMR 8Bsg== 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=PwUU1YKTRto1wQfZpKpX1jWiTQDtu3Oih3JGe/RizdY=; b=bWoAJx9YaspQn4W2OkmumiKKNox8OU3FANxIlED2OnDnvLKdd91ptrRvDoRYQxb632 AJWwvKGgTYtOw6o/OJQRk+rPTbm2GvNOEL8n6DQphXro4eZONCbBFj8vveihod5rtQsp Pa4B8QYbjVSynjegmu30QYouLDryRA35KudvSlRXgVPybJcGXHb3/Ya0nNFUPA2sbzGw OkRlqDoZIDEQUguc9nWVw2yyfp+qOqT/ypuW5+dJ9jiyhoUZJBg6Gy3bY3WLbSl/UqAZ 490/943uMXwXjZZqrJgWj9o2q6sg+WOF3O2phx2cSS+Cg+CIuo3p8VYZ3iO2zdMItK05 hRyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JJAczVYO; 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 61si6163493edf.562.2021.01.10.06.09.07; Sun, 10 Jan 2021 06:09:30 -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=JJAczVYO; 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 S1726618AbhAJOG1 (ORCPT + 99 others); Sun, 10 Jan 2021 09:06:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbhAJOG0 (ORCPT ); Sun, 10 Jan 2021 09:06:26 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52D8AC061794 for ; Sun, 10 Jan 2021 06:05:46 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id t22so9384869pfl.3 for ; Sun, 10 Jan 2021 06:05:46 -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=PwUU1YKTRto1wQfZpKpX1jWiTQDtu3Oih3JGe/RizdY=; b=JJAczVYOJr2piove4sRN5rNQ5PwlhTMnhuEoiIVroZAG6Kje6V7y/pzjfw9iOFLPxb AdEwHEzOXTodscnF6Ex7EEL3VZTFdTGgQFz+XC8uD1+n8/J7FOtI2yz5SSjgHXLnTG6r f3+tWuWtUv9Tmdfqg67aS6UErR5yoIUyGhcqNsW4HaYGKEIzGA/tUNPVyZDdlBFW9jsw RdkOWj0pk7Sjo29ywJW3P8rnDWxGv4SYObrExO8M1k6kSDbkzet6HaAsPHwJ3lIJFvHU /qGcaRY8BwXymij38uC13l4wgzaCtLeGPrAi2bY7FDY0iGnRmC9/SteIJxVjUZAg4983 BEXg== 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=PwUU1YKTRto1wQfZpKpX1jWiTQDtu3Oih3JGe/RizdY=; b=qwD/1eWnKYueBUO3Te4P01r+TWrpGEDgiPKjBXZpEMkVgw3PUOSOditCGnZXci9Cl5 CkUA/4aWSNX78KnFRYpvkDNF5h227tZnSOYKvnAUmj2ptAGZ3D2aHFKdhnyP0XV4DNxO RWn0jbro5zaGR2hd1hKC749fM+AUxJDlsv0bbURUXk4FMOgTig+mN+Yt+eLx3AvCllxR b0glZzXanAMwPhDF8hU/qmXx4UvyW6RFuH8RynQ9I8/D2Zz8iP9jiXTGwwoDVyPOtXLI 1YH2XTw4cpgoqW06/nZoXFNJu7k02GCiXuVgM9m7FBiUhPJtQUaaVe+0xAi5R/0NPwO4 a8aA== X-Gm-Message-State: AOAM532791BI61AokSQUMyQwJ3mLCC4l5YX0mYMBzmRD1C5ILqSyOhXJ wO6TurLIR3u7o4svECUm6d8= X-Received: by 2002:aa7:9633:0:b029:19d:d05f:4964 with SMTP id r19-20020aa796330000b029019dd05f4964mr12246859pfg.23.1610287545891; Sun, 10 Jan 2021 06:05:45 -0800 (PST) Received: from adolin ([49.207.199.194]) by smtp.gmail.com with ESMTPSA id ay21sm11828629pjb.1.2021.01.10.06.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 06:05:45 -0800 (PST) Date: Sun, 10 Jan 2021 19:35:41 +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 V4 3/3] drm/vkms: Add information about module options Message-ID: <68b521bc789640a5f6437bcaa5d5960799be59c9.1610200411.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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst index 9e030c74a82e..45fe02f643a8 100644 --- a/Documentation/gpu/vkms.rst +++ b/Documentation/gpu/vkms.rst @@ -35,6 +35,16 @@ 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. +You can use the `modinfo` command to see 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