search for: getparam

Displaying 20 results from an estimated 42 matches for "getparam".

2006 Sep 13
2
Revisited - No fullscreen on FreeNX
...or CentOS 4. Here's a quick patch against the freenx-0.5.0-9.c4 version of /usr/bin/nxnode that resolves this issue: ***PATCH START*** --- nxnode.save 2006-09-13 12:01:31.000000000 -0500 +++ nxnode 2006-09-13 12:02:08.000000000 -0500 @@ -626,6 +626,7 @@ imagecompressionmethod=$(getparam imagecompressionmethod) imagecompressionlevel=$(getparam imagecompressionlevel) geometry=$(getparam geometry) + fullscreen=$(getparam fullscreen) keyboard=$(getparam keyboard) kbtype=$(getparam kbtype) media=$(getparam media) @@ -661,7 +662,6 @@...
2018 Oct 08
2
[PATCH] drm/nouveau: fix missing break in switch statement
From: Colin Ian King <colin.king at canonical.com> The NOUVEAU_GETPARAM_PCI_DEVICE case is missing a break statement and falls through to the following NOUVEAU_GETPARAM_BUS_TYPE case and may end up re-assigning the getparam->value to an undesired value. Fix this by adding in the missing break. Detected by CoverityScan, CID#1460507 ("Missing break in switch&quo...
2023 Oct 08
2
[PATCH v2] drm/nouveau: exec: fix ioctl kernel-doc warning
kernel-doc emits a warning: include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX on line 49 - I thought it was a doc line We don't have a way to document a macro value via kernel-doc, so change the "/**" kernel-doc marker to a C comment and format the comment more like a kernel-doc comment for consistency. Fixes: d59e75eef52d ("drm/nouveau: e...
2014 Feb 01
0
[RFC 02/16] drm/nouveau: basic support for platform devices
...h> #include <linux/firmware.h> diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c index 900fae0..a28422b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -179,12 +179,21 @@ nouveau_abi16_ioctl_getparam(ABI16_IOCTL_ARGS) getparam->value = device->chipset; break; case NOUVEAU_GETPARAM_PCI_VENDOR: - getparam->value = dev->pdev->vendor; + if (nv_device_is_pci(device)) + getparam->value = dev->pdev->vendor; + else + getparam->value = 0; break; case NOUVEA...
2006 Feb 23
6
Search Forms with Pagination
...to create a search form that paginates the results. What I have so far in my controller is: def list # If the values are nil, then set them, otherwise wrap them in % # Also, set up our view instance variable, to re-populate the search form @view = Machine.new @view.make = getParam("make") @view.model = getParam("model") # Search the database and populate our paging object @filtered_machines = Machine.find(:all, :conditions => ["make LIKE ? AND model LIKE ? AND for_sale = 1 AND web_width != 0",...
2008 Jun 04
0
Compile error on CentOS 4.6
...gcc -c -O3 -pthread -D_POSIX_C_SOURCE=200112 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare -Wendif-labels grav.c m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes/null_macros/c.m4.null getparam.C > getparam.c gcc -c -O3 -pthread -D_POSIX_C_SOURCE=200112 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare -Wendif-labels getparam.c m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes...
2012 Dec 08
2
Queue joinempty, even after AddQueueMember
Hello, I add a member to a queue with AddQueueMember, but the Queue still indicates "joinempty" : Add member to queue : /-- Executing [queueadd at sub-GetParams:2] AddQueueMember("SIP/sip17-00005c1e", "myqueue11,member3") in new stack -- Executing [queueadd at sub-GetParams:3] NoOp("SIP/sip17-00005c1e", "AQMSTATUS = ADDED") in new stack/ ... but JOINEMPTY when entering the Call Queue : /-- Executing [queue at pb...
2011 Nov 24
2
da.norm function
Hello all I'm running da.norm function in R for climate data rngseed(1234567) theta1=da.norm(mydata, thetahat, steps=1000,showits=T) param1=getparam.norm(mydata,theta1) As I understand the 1000 steps represent the markov chain values. Is there a way to plot them? Something like plot(1:1000, param1$mu[]). I just can't find a way to extract them out of my theta1. Thank you, Andrey. [[alternative HTML version deleted]]
2020 Feb 02
0
Wine release 5.1
.... gphoto2.ds: Global variable compatibility update for gcc 10. sane.ds: Global variable compatibility update for gcc 10. Michael Stefaniuc (14): dmloader: Use wide-char string literals. dmusic: Use wide-char string literals. dmstyle: Partially implement Audition track GetParam/SetParam methods. dmstyle: Partially implement Chord track GetParam/SetParam methods. dmstyle: Partially implement Command track GetParam/SetParam methods. dmstyle: Partially implement Motif track GetParam/SetParam methods. dmstyle: Partially implement Mute track GetParam/Se...
2019 Jan 29
0
[PATCH] drm/nouveau: fix missing break in switch statement
On 1/29/19 2:49 PM, Gustavo A. R. Silva wrote: > > > On 10/8/18 3:47 PM, Colin King wrote: >> From: Colin Ian King <colin.king at canonical.com> >> >> The NOUVEAU_GETPARAM_PCI_DEVICE case is missing a break statement and falls >> through to the following NOUVEAU_GETPARAM_BUS_TYPE case and may end up >> re-assigning the getparam->value to an undesired value. Fix this by adding >> in the missing break. >> >> Detected by CoverityScan, CI...
2020 Jan 16
0
[PATCH AUTOSEL 4.19 204/671] drm/nouveau: fix missing break in switch statement
From: Colin Ian King <colin.king at canonical.com> [ Upstream commit 785cf1eeafa23ec63f426d322401054d13abe2a3 ] The NOUVEAU_GETPARAM_PCI_DEVICE case is missing a break statement and falls through to the following NOUVEAU_GETPARAM_BUS_TYPE case and may end up re-assigning the getparam->value to an undesired value. Fix this by adding in the missing break. Detected by CoverityScan, CID#1460507 ("Missing break in switch&quo...
2019 Jan 29
0
[PATCH] drm/nouveau: fix missing break in switch statement
On 10/8/18 3:47 PM, Colin King wrote: > From: Colin Ian King <colin.king at canonical.com> > > The NOUVEAU_GETPARAM_PCI_DEVICE case is missing a break statement and falls > through to the following NOUVEAU_GETPARAM_BUS_TYPE case and may end up > re-assigning the getparam->value to an undesired value. Fix this by adding > in the missing break. > > Detected by CoverityScan, CID#1460507 ("Mi...
2014 Feb 10
2
[PATCH] drm/nouveau: support for platform devices
...f (!handle) return false; diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c index 900fae01793e..a28422bc1122 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -179,12 +179,21 @@ nouveau_abi16_ioctl_getparam(ABI16_IOCTL_ARGS) getparam->value = device->chipset; break; case NOUVEAU_GETPARAM_PCI_VENDOR: - getparam->value = dev->pdev->vendor; + if (nv_device_is_pci(device)) + getparam->value = dev->pdev->vendor; + else + getparam->value = 0; break; case NOUVEA...
2014 Feb 12
0
[PATCH v2] drm/nouveau: support for platform devices
...f (!handle) return false; diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c index 900fae01793e..a28422bc1122 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -179,12 +179,21 @@ nouveau_abi16_ioctl_getparam(ABI16_IOCTL_ARGS) getparam->value = device->chipset; break; case NOUVEAU_GETPARAM_PCI_VENDOR: - getparam->value = dev->pdev->vendor; + if (nv_device_is_pci(device)) + getparam->value = dev->pdev->vendor; + else + getparam->value = 0; break; case NOUVEA...
2013 Mar 27
3
[PATCH 1/4] drm/nvc0: implement VRAM compression
--- drivers/gpu/drm/nouveau/core/include/subdev/ltcg.h | 7 + drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c | 55 +++++---- drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c | 129 +++++++++++++++++++- drivers/gpu/drm/nouveau/core/subdev/vm/nvc0.c | 58 +++++++++- 4 files changed, 220 insertions(+), 29 deletions(-) diff --git
2014 Feb 11
2
[PATCH] drm/nouveau: support for platform devices
...e.c. IMHO the current situation is still sustainable for two buses. If we had three or more, I'd go for the nouveau_device_ops * solution though. > >> diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c > [...] >> case NOUVEAU_GETPARAM_BUS_TYPE: >> + if (!nv_device_is_pci(device)) >> + getparam->value = 3; >> + else >> if (drm_pci_device_is_agp(dev)) >> getparam->value = 0; >> else > > This...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
On 12/02/14 05:38, Alexandre Courbot wrote: > Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead > of PCI to which Nouveau is tightly dependent. This patch allows Nouveau > to handle platform devices by: > > - abstracting PCI-dependent functions that were typically used for > resource querying and page mapping, > - introducing a nv_device_is_pci()
2003 Oct 23
2
OOP like handling of lists?
......, which should *work on the list itself* or make a copy of it. An example: the model object may have the name "lvmodel" (see below). so it can be simulated and plotted simply using: lvmodel <- simulate(lvmodel) plot(lvmodel) Parameters (and other stuff) may be modified with: getParams(lvmodel) lvmodel <- setParms(lvmodel, list(k1=0.5)) ... and then simulated and plotted again. The problem however is, that for functions which modify list elements an assignement to a new (or the same) variable MUST exist. I want to write simply: setParms(lvmodel, list(k1=0.5)) and not l...
2014 Feb 10
0
[PATCH] drm/nouveau: support for platform devices
...a struct device * and a struct nouveau_device_ops *, and upcasting can therefore be done within these operations, rather than sprinkling nv_device_is_pci() code everywhere. > diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c [...] > case NOUVEAU_GETPARAM_BUS_TYPE: > + if (!nv_device_is_pci(device)) > + getparam->value = 3; > + else > if (drm_pci_device_is_agp(dev)) > getparam->value = 0; > else This is more of a general note since this patch doesn't introduce the parameter. Perhaps it would be good to expo...
2018 Aug 30
3
[PATCH 0/2] drm/nouveau: Use more standard logging styles
Reduces object size ~4kb Joe Perches (2): drm/nouveau: Add new logging function nv_cli_printk drm/nouveau: Convert NV_PRINTK macros and uses to new nv_cli_<level> macros drivers/gpu/drm/nouveau/nouveau_abi16.c | 2 +- drivers/gpu/drm/nouveau/nouveau_chan.c | 12 +++---- drivers/gpu/drm/nouveau/nouveau_drm.c | 21 +++++++++++ drivers/gpu/drm/nouveau/nouveau_drv.h | 44