search for: block_height

Displaying 3 results from an estimated 3 matches for "block_height".

2024 Sep 11
1
[PATCH v2 3/3] drm/nouveau: Add drm_panic support for nv50+
...g at how to check for specific chip in nouveau, and fix the > tiling for other cards than Turing. > It looks like in most case nouveau uses device->info.chipset, with > hardcoded hex value. so for nvc0+ I should check device->info.chipset >= > 0xc0 ? > > chipset < c0 : block_height 4, "old layout" > chipset >= c0 : block_height 8, "old layout" > chispet >= ?? : block_height 8, "new layout" > > For testing, I have at hand a GTX1650 (Turing) and an old Geforce > 8800GTS (Tesla?), so it's a NV92, and still uses this nv50+ co...
2018 Oct 25
1
Questions on Blocklinear Mipmaps and auto-sizing
...hw/memory/g80-surface.html#textures-mipmapping-and-arrays the texture unit auto resizes mipmaps' blocks but how do I know how many blocks each one uses? I'm currently using this algorithm: u32 height = MipHeight(mip_level); u32 gobs_in_y = (height + 7) / 8; u32 bh = block_height; // Magical block resizing algorithm, needs more testing. while (bh > 1 && (gobs_in_y + bh - 1) / bh <= 2) { bh >>= 1; } return bh; it works 95% of the time but doesn't fit the correct block size all the time. Do you guys got any i...
2020 Aug 28
0
Wine release 5.16
...ecs/tests: Fix a variable name typo in decode_bc1(). windowscodecs/tests: Add tests for decoding BC2 format. windowscodecs/tests: Add tests for decoding BC3 format. windowscodecs/tests: Merge decode_bc*() into a single function. windowscodecs/tests: Add macro BLOCK_WIDTH and BLOCK_HEIGHT. windowscodecs: Add a lock for DdsFrameDecode. windowscodecs: In struct DdsFrameDecode, add a new member "pixel_data" and rename member "data" to "block_data". windowscodecs: More complete implementation of DdsFrameDecode_CopyPixels(). windowsco...