[Intel-gfx] [PATCH 2/6] drm/i915: s/mappable_end/mappable_size/

Chris Wilson chris at chris-wilson.co.uk
Wed Nov 22 21:43:48 UTC 2017


Quoting Matthew Auld (2017-11-22 21:19:16)
> The name mappable_end seems to suggest the end of the mappable region,

This seems to be arguing for using _end :)

> but is actually just the size, so make that obvious to the reader.

We didn't choose size because it is a subregion within the larger GTT.

At this point, I'm not sold on the conversion. Some examples of
confusion would help, or comparison to other idioms in the code.
-Chris


More information about the Intel-gfx mailing list