Skip to content
Snippets Groups Projects
Commit 33a0c2a6 authored by Dave Airlie's avatar Dave Airlie
Browse files

nouveau: move GSP headers to a generated header file.

When Ben originally wrote the GSP port, he hand crafted/copied a bunch
of structures and defines from NVIDIA's open-gpu-kernel-modules.

I recently wrote a libclang based parser in rust that parsers the
complete opengpu repo and writes out useful info into 2 json files.

1 file is suitable for generating a memory mapped structure format
the other is good for generate C headers and types.

The parser is https://github.com/airlied/gsp-parse

 but will probably
move somewhere nicer.

This uses the generator to create gen.h which is a single header file
that requires one manual fixup to add back a __counted_by that was added
downstream but not upstream.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent ad618736
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 1557 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment