On Mon, Mar 20, 2017 at 5:36 PM, Jan Ziak <0xe2.0x9a.0x9b-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi
>
> https://cgit.freedesktop.org/~agd5f/linux/plain/drivers/gpu/ drm/amd/include/asic_reg/ vega10/NBIO/nbio_6_1_sh_mask. h?h=amd-staging-4.9&id= 9555ef0ba926df25d9a637d0ea21bc 0d231c21d2
>
> The file nbio_6_1_sh_mask.h is uncompressed. It consists from 133884 lines.
> Only generated C/C++ code will be able to utilize the content of such a file
> efficiently. All hand-written codes combined will be able to utilize about
> 1% of the file.
>
> Is there a reason why nbio_6_1_sh_mask.h is huge?
That IP block contains a lot of registers. The idea is to open source
as much IP as possible to facilitate debugging, new features, etc.
Alex