Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2150731pxb; Mon, 11 Jan 2021 02:11:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYv2NOMajRGT8XMcJF7qjE/3XSQneFP2c3j5U4Q7/hklFBGFvudAWbUVbXanYvSUDz7BPR X-Received: by 2002:a17:906:447:: with SMTP id e7mr10166608eja.172.1610359901404; Mon, 11 Jan 2021 02:11:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610359901; cv=none; d=google.com; s=arc-20160816; b=r1+399VHj/BlGiG0DFlqm6WRTjKmXzbqgZ82pPnLGAgjXxJlAdXx35aZilBdpP03DY ECp9jQwvN+UqDpfsH4bXaPVX7SocXHw7faF5K9/JejLCyJvoKSCMIzt/EtCwb9p2Pcpo pCpd5Qgs1+pBhzVkXfTkQtWrauzjxuC7Os8Aa/gtn8S8uAFp6dsHkAtt2XKnLt9POIU1 xOArxHv58x5XaRXRhxZMi5TPvjL2SXh8HgL9BtNpmgY4uh+tNHFQ+sSX5TfiLaD1xYQs S4ssy2jfY7CvemnoCO/zwZIrnLcJTssMjiiNg0Je/o4A5tri/g8+eI0LJhDeC+WYGQOb d+Dg== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=uWzaRMbmt2By8y7NAjed3CzVmUPuMLhbIN6Z2HhRiPk=; b=BoT9Lx88d/09dDP9QEHZgQsm1jdnBP+9zONW1yhZKNBc0HyqBRid0UybewZANfZ2hk lAJHyAPikr2qKNUnPC8aiNBb/NPHFMOj4tbxISdr7rsm/oRr11+v88cIHs4cGlYQ/d6S x2GDnhd5uzKQ0VkVqzWUi68ZnkM8UgIG80CJZIfjnqrMrVJSEnuBZ6QV0VHcVDv/dyTH KoXJctTihw7jFzfd04LZ318LWliEdfABzyw4NV/8NO2LL1myo0uU4eHXq2Vn1KBgvyCm 0f0mQfHTalI3J/Hc13WSil9FTCD1MKWIGGuXyFFanftmPipzHQgf01duF3r7V4vDVWoA yB0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=OAWDr412; 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 hq38si2506687ejc.21.2021.01.11.02.11.17; Mon, 11 Jan 2021 02:11:41 -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=@ffwll.ch header.s=google header.b=OAWDr412; 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 S1728816AbhAKKIi (ORCPT + 99 others); Mon, 11 Jan 2021 05:08:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726734AbhAKKIi (ORCPT ); Mon, 11 Jan 2021 05:08:38 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7751C061786 for ; Mon, 11 Jan 2021 02:07:51 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id k10so13319788wmi.3 for ; Mon, 11 Jan 2021 02:07:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=uWzaRMbmt2By8y7NAjed3CzVmUPuMLhbIN6Z2HhRiPk=; b=OAWDr412aSMYDUxWwDp6pKiepwKUJnkIBsf/3qFDM7Go3GGi3j9O+EUop4t7xMxLJL KFPI1PCaURTTX/1vBW6Mcq+PEkFAkG9JwoM6YCRHgxPviy6x8ZdUNAHNK/dYF35eJffN D2q/BhbwjMjMesCNIKWjqpeUdS/RY9rBvev+A= 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=uWzaRMbmt2By8y7NAjed3CzVmUPuMLhbIN6Z2HhRiPk=; b=LO9uBfcXt2Irrl6UDKSydv+Tw+eztpybahFOSiSfCUi0BP8qipKqzbCNTbgXOAwe3w erdAxtDN4/Venziazi0m+bYTRx6TXyA/wRwY25rI0wMNWUSOnLDEcAh73E2k3mzIVqiv wpjJxiTb7uxcVRDSIxp6fknoHa5v7AVcK+Jdp5jbVqvRWLAgbpzoiAElXT3n51ZPgDMT AOrncMBwQtoIByyO0vCN4nOx+DG1IwOxbktD2dWsCtWDJaazAhWnUwdQ5okxGcTNN+fq BlhoDn0+ZV9gsSCWxGA2EPnUx2g/8MgLSB5XBa3r9h/o9vC1wGgKSclDX0KJkfIUaNCP //Cw== X-Gm-Message-State: AOAM532pXQzlJfEUPgJHBZ602UYlmrF6z8DWUxG6WWzGE/7U2ndogj1P tDaC35zdGEVil6ycJbiLcld83Q== X-Received: by 2002:a1c:6144:: with SMTP id v65mr13815610wmb.125.1610359670546; Mon, 11 Jan 2021 02:07:50 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id i16sm23321093wrx.89.2021.01.11.02.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 02:07:49 -0800 (PST) Date: Mon, 11 Jan 2021 11:07:47 +0100 From: Daniel Vetter To: Sumera Priyadarsini Cc: melissa.srw@gmail.com, rodrigosiqueiramelo@gmail.com, hamohammed.sa@gmail.com, daniel@ffwll.ch, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 3/3] drm/vkms: Add information about module options Message-ID: Mail-Followup-To: Sumera Priyadarsini , melissa.srw@gmail.com, rodrigosiqueiramelo@gmail.com, hamohammed.sa@gmail.com, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <68b521bc789640a5f6437bcaa5d5960799be59c9.1610200411.git.sylphrenadin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68b521bc789640a5f6437bcaa5d5960799be59c9.1610200411.git.sylphrenadin@gmail.com> X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 10, 2021 at 07:35:41PM +0530, Sumera Priyadarsini wrote: > 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. > Maybe start out with "vkms has optional features to simulate different kinds of hardware, which are exposed as module options." Just to make it clear why you'd want to look at module options and set them. Otherwise lgtm, with that change on the entire series: Acked-by: Daniel Vetter > +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 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch