nv50_2d: regenerate envytools-based rnndb headers
authorRhys Kidd <rhyskidd@gmail.com>
Wed, 15 Jul 2020 13:04:32 +0000 (23:04 +1000)
committerRhys Kidd <rhyskidd@gmail.com>
Wed, 15 Jul 2020 14:24:51 +0000 (00:24 +1000)
commita9c94861063d16bd6f1f71b4dda7ddd1d3438313
tree3fb758dbfa2f5c54c6772e855cb896c43f15bf78
parent0859dcb57c18905b2f30e78e1458fea36d111e20
nv50_2d: regenerate envytools-based rnndb headers

The headers hadn't been regenerated from envytools in a long time,
and there were a few minor divergences.

Based on envytools commit c20929ed0f3be18b8419f7332ee22d905feb6589

Among other things, rnndb has changed naming to G80/etc, for now
I've not tackled switching that over and replaced the nvidia
codenames back to the chip ids that mesa uses with the following:

  $ sed -i 's/G80_2D/NV50_2D/g' rnndb/graph/g80_2d.xml.h
  $ sed -i 's/GF100_2D/NVC0_2D/g' rnndb/graph/g80_2d.xml.h

No other modifications of the headergen'd headers was done, which
was helped by the differing #define's being unutilised presently.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5920>
src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h