Re: Large new drm driver
From: Dave Airlie
Date: Mon May 01 2017 - 22:36:44 EST
On 2 May 2017 at 11:31, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Linus,
>
> Just so you don't get a large suprise:
>
> $ git diff --dirstat v4.11..next-20170501
> 3.9% arch/
> 13.5% drivers/gpu/drm/amd/include/asic_reg/vega10/DC/
> 6.0% drivers/gpu/drm/amd/include/asic_reg/vega10/GC/
> 23.5% drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/
> 7.5% drivers/gpu/drm/amd/include/asic_reg/vega10/
> 4.9% drivers/gpu/drm/
> 4.6% drivers/net/
> 5.8% drivers/staging/media/atomisp/pci/atomisp2/css2400/
> 3.0% drivers/staging/media/
> 4.5% drivers/staging/rtl8723bs/
> 12.6% drivers/
>
> There are some very large include files in the new drm driver.
>
> wc -l over all the files in
> drivers/gpu/drm/amd/include/asic_reg/vega10/:
We've had register header files like this on a number of occasions
before, not sure why it warrants a mention now.
It's just the public header files for the new Vega AMD GPUs,
as opposed to a whole new driver.
AMD release the validated headers so open source developers
don't have to go hunting for registers.
Dave.