2020-06-30 06:06:38

by Gonsolo

[permalink] [raw]
Subject: Unused lines

Hi!

Are the 147MB or 1.6 million(!) lines in
drivers/gpu/drm/amd/include/asic_reg really necessary? I grepped a few
of them and they don't seem to be used, neither in the kernel nor drm or
mesa. As an example I removed one of the unused lines (see the attached
patch) and the amdgpu driver seems to build just fine.

Cheers,
g


Attachments:
(No filename) (340.00 B)
0001-Remove-unused-line.patch (1.07 kB)
Download all attachments