On 2025-07-21, H. Hartzer <h...@hartzer.sh> wrote:
> Hi misc@,
>
> On 7.7, extracted src.tar.gz and sys.tar.gz is about 1.7GB.
>
> The sys folder is 634MB.
> sys/dev is 590MB.
> sys/dev/pci is 543MB.
> sys/dev/pci/drm is 525MB.
> sys/dev/pci/drm/amd is 499MB.
>
> And sys/dev/pci/drm/amd/include is 458MB.
>
> Is it necessary? Can it be trimmed down some? Seems a bit excessive to
> me.

The biggest amount of space used in this directory tree is for #defines
relating to registers in the ASICs, not actual program code. It was
presumably automatically converted from AMD-internal source.

While it would be possible to trim out those defines which are unused by
the drm driver itself, it would make it more difficult to compare what
we have with the original driver from AMD, and more difficult to update.

If the problem is disk space I suggest using a larger partition.

-- 
Please keep replies on the mailing list.

Reply via email to