Skip to contentSkip to conversation

Large new drm driver

DISCUSSION Stephen Rothwell 2 participants 3 messages May 2, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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/:

361003 total

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 17 lines · Stephen Rothwell

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/
Quoted 4 lines

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.

#2 lore raw

Hi Dave,

Quoted 3 lines · On Tue, 2 May 2017 12:36:35 +1000 Dave Airlie <[email protected]> wrote:

We've had register header files like this on a number of occasions before, not sure why it warrants a mention now.

Linus expressed suprise once before when we had a large number of new lines appear in another subsystem ...

Quoted 5 lines

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.

It's all fine, just noting.

Signature · 2 lines
Cheers,
Stephen Rothwell