[PATCH] drm/radeon: Inline r100_mm_rreg

Lauri Kasanen cand at gmx.com
Fri Apr 11 09:47:36 PDT 2014


On Fri, 11 Apr 2014 14:32:20 +0200
Christian König <deathsimple at vodafone.de> wrote:

> Anyway, I would do like Ilia suggested and only put the else branch into 
> a separate, not inlined function.
> 
> BTW: It's probably a good idea to do the same for the write function as 
> well.

I tested it. The majority of the size increase stayed - the
else/spinlock part as non-inlined functions, radeon.ko was still 5%
larger instead of 7%.

- Lauri


More information about the dri-devel mailing list