[Intel-gfx] [PATCH 2/3] drm/i915: add yesno utility function

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 27 06:28:06 PDT 2015


On Thu, Aug 27, 2015 at 04:23:30PM +0300, Jani Nikula wrote:
> Add a common function to return "yes" or "no" string based on the
> argument, and drop the local versions of it.

Purely out of curiosity, gcc is able to amalgamate the constant strings
(I remember reading that it is intelligent enough to do so), right? i.e.
size i915.ko doesn't change (at least .data, we may see .text
differences for gcc having different ideas about inlines)?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list