search for: rmask

Displaying 9 results from an estimated 9 matches for "rmask".

Did you mean: mask
2009 Dec 04
5
logical masking of a matrix converts it to a vector
...e variable gets converted into a vector when entries are removed by logical masking. This is a problem because subsequent code may rely on matrix operations (apply, colsums, dim, etc) For example: > a <- matrix(c(1, 2, 3, 4), nrow = 2) > a [,1] [,2] [1,] 1 3 [2,] 2 4 > rmask <- c(TRUE, FALSE) > b <- a[rmask, ] > colSums(b) Error in colSums(b) : 'x' must be an array of at least two dimensions To ensure the code works regardless of how the matrix gets modified, I need to explicitly recast results to a matrix, for example: b <- matrix(a[rmask, ],...
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...2009 +0000 +++ b/console.c Mon Feb 16 12:07:19 2009 +0000 @@ -1310,6 +1310,9 @@ pf.rshift = 0; pf.gshift = 8; pf.bshift = 16; + pf.rbits = 8; + pf.gbits = 8; + pf.bbits = 8; break; case 32: pf.rmask = 0x0000FF00; @@ -1324,6 +1327,10 @@ pf.rshift = 8; pf.gshift = 16; pf.bshift = 24; + pf.rbits = 8; + pf.gbits = 8; + pf.bbits = 8; + pf.abits = 8; break; default: break; @@ -1352,6...
2004 Oct 25
0
[PATCH] move iolist functions into separate file
...st->ios[IOLIST_INPUT] = NULL; + return list->ios[IOLIST_OUTPUT] == NULL; + } + if (list->ios[IOLIST_OUTPUT] == io) { + list->ios[IOLIST_OUTPUT] = NULL; + return list->ios[IOLIST_INPUT] == NULL; + } + + i_unreached(); + return TRUE; +} + +int iolist_events(struct io_list *list, int rmask, int wmask) +{ + int events = 0, i; + struct io *io; + + for (i = 0; i < IOLIST_IOS_PER_FD; i++) { + io = list->ios[i]; + + if (io == NULL) + continue; + + if (io->condition & IO_READ) + events |= rmask; + if (io->condition & IO_WRITE) + events |= wmask; + } + + return...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...} + +PixelFormat qemu_different_endianness_pixelformat(int bpp) +{ + PixelFormat pf; + + memset(&pf, 0x00, sizeof(PixelFormat)); + + pf.bits_per_pixel = bpp; + pf.bytes_per_pixel = bpp / 8; + pf.depth = bpp == 32 ? 24 : bpp; + + switch (bpp) { + case 24: + pf.rmask = 0x000000FF; + pf.gmask = 0x0000FF00; + pf.bmask = 0x00FF0000; + pf.rmax = 255; + pf.gmax = 255; + pf.bmax = 255; + pf.rshift = 0; + pf.gshift = 8; + pf.bshift = 16; + break; + case 32: +...
2014 Feb 05
0
[PATCH] drm/nv50/graph: update status enum names
..."ZCULL" }, { 0x00020000, "ENG2D" }, - { 0x00040000, "UNK34XX" }, - { 0x00080000, "TPRAST" }, - { 0x00100000, "TPROP" }, - { 0x00200000, "TEX" }, - { 0x00400000, "TPVP" }, - { 0x00800000, "MP" }, + { 0x00040000, "RMASK" }, + { 0x00080000, "TPC_RAST" }, + { 0x00100000, "TPC_PROP" }, + { 0x00200000, "TPC_TEX" }, + { 0x00400000, "TPC_GEOM" }, + { 0x00800000, "TPC_MP" }, { 0x01000000, "ROP" }, {} }; static const char *const nv50_pgraph_vstatus_0...
2018 Apr 07
6
[Bug 105940] New: Display freeze caused by nouveau
...controller: NVIDIA Corporation GT215 [GeForce GT 320] (rev a2) Excerpt of journalctl (full journalctl in attachment): apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush idle timeout fail apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS 00be0003 [BUSY DISPATCH ENG2D RMASK TPC_RAST TPC_PROP TPC_TEX TPC_MP] apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0: 00000000 [] apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1: 0000106d [TPC_TEX TPC_MP] apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2: 00148000 [ENG2D] apr 07 12...
2015 Feb 17
10
[Bug 89186] New: Artifacts after waking up from suspend
...mesg outputs there a follwing lines (full log attached): [ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail [ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_STATUS : 0x011fde01 BUSY VFETCH CCACHE_PREGEOM STRMOUT_VATTR_POSTGEOM VCLIP TRAST CLIPID ZCULL ENG2D RMASK TPC_RAST TPC_PROP ROP [ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00145b49 VFETCH CCACHE [ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x0000002d [ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x0034db40 ENG2D ROP I have attached the o...
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
2019 May 01
24
[Bug 110572] New: System Crash: nouveau 0000:08:00.0: gr: PGRAPH TLB flush idle timeout fail and nouveau 0000:08:00.0: mmu: ce0 mmu invalidate timeout
https://bugs.freedesktop.org/show_bug.cgi?id=110572 Bug ID: 110572 Summary: System Crash: nouveau 0000:08:00.0: gr: PGRAPH TLB flush idle timeout fail and nouveau 0000:08:00.0: mmu: ce0 mmu invalidate timeout Product: Mesa Version: 19.0 Hardware: x86-64 (AMD64) OS: Linux (All)