Comments (4)
You are missing:
- hex 0x47 (71 decimal) is your BGRA8_UNORM
- hex 0x3B (59 decimal) is your A8_UNORM
I believe that's all you are missing. I hope this helps.
from nouveau.
Hm, surprising that you don't also have values for things like RGB565/RGBA4/RGB5A1 and their BGR friends, as all of those have RT formats (https://github.com/envytools/envytools/blob/master/rnndb/g80_defs.xml#L198). On SM20, you could literally plug a RT format enum into the image binding.
[By the way, recent RE work on SM50 indicates that SM50 just takes a TIC reference and uses its format, so these are only for SM30 and SM35. But you probably already knew this.]
from nouveau.
surprising that you don't also have values for things like RGB565/RGBA4/RGB5A1 and their BGR
There are values for some of these formats such as RGB565, but those not listed are "unsupported" formats for the SUSTP instruction.
Writes to any surface formats marked "unsupported" are dropped silently.
Examples of unsupported formats are formats with forced one or zero components, RGB5 or R5G6B5 formats, 32-bit unorm formats, alpha formats, red-alpha formats, and sRGB formats.
from nouveau.
After some experimentation, it appears that BGRA8_UNORM is actually 0x11 (only tested on GK208/SM35 thus far). Which coincidentally happens to be 0x47 >> 2. Perhaps the bottom 2 bits in your tables mean something else? Or did the other values match up properly?
from nouveau.
Related Issues (16)
- Kernel panic with GK20A (Shield Tablet)
- [question] nvbios: mapping of extedvs with 0x28 P table HOT 3
- [question] What is EVO method 0x100 on base channel? HOT 1
- [question] HDMI pixel clock limits HOT 5
- [question] how does ZCULL work? HOT 2
- [question] I2C Device Table Entry. Type: 0xa0 HOT 2
- [question] Voltage calculation HOT 7
- Phoronix test: GTX 970 only Maxwell GPU that doesn't work with GM2xx initial Nouveau patches.. HOT 1
- [question] [Fermi] Is there a way to accumulate buffer offset after transform feedback (aka streamout) HOT 3
- [question] [Tesla] How to know whether to post the card?
- GM20x sw_nonctx bundles touch non-existent register
- What is the DIVERGENT warp error? HOT 2
- [question] P+0x50 table documentation
- [question] ACPI/PCIe lockup issue on Skylake + Maxwell hybrid graphics laptops
- nouveau [ DRM] 0xD576: Parsing digital output script table HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nouveau.