diff options
author | Ben Widawsky <[email protected]> | 2016-02-08 12:42:29 -0800 |
---|---|---|
committer | Ben Widawsky <[email protected]> | 2016-03-11 11:17:28 -0800 |
commit | d1ab544bb883d040576f0bd7f28ad3cda4c8ae05 (patch) | |
tree | 18b767fbfa6d3f9724486124e6d06b23aaa3c574 /src/gallium/drivers/r300 | |
parent | 5e6a43a001db0bb333deb3d003df11ab8ef96a21 (diff) |
i965/chv: Display proper branding
"Braswell" is a Cherryview based *thing*. It unfortunately requires extra
information to determine its marketing name. Unlike all previous products, and
hopefully all future ones, there is no unique 1:1 mapping of PCI device ID to
brand string.
I put up a fight about adding any complexity to our GL renderer string code for
a very long time. However, a wise man made a comment to me that I couldn't argue
with: if a user installs Windows on their hardware, the brand string should be
the same as what we display in Linux. The Windows driver apparently does this
check, so we should too.
Note that I did manage to find a good use for this info anyway in the compute
shader thread counts.
v2: memcpy instead of strncpy, and some minor changes (Matt)
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Jordan Justen <[email protected]
Diffstat (limited to 'src/gallium/drivers/r300')
0 files changed, 0 insertions, 0 deletions