[Intel-gfx] [PATCH v2] drm/i915: Downgrade misleading "Memory usable" message

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Tue Dec 12 13:10:58 UTC 2017


On Tue, 2017-12-12 at 11:35 +0000, Chris Wilson wrote:
> It never meant what it said, as it was always the total size of the
> Global GTT and not a limit upon memory usage. Originally it served as a
> quick guide to the largest batch that could be submitted by userspace,
> an approximation to its maximum RSS, but was phrased badly. Today with
> the 48b ppgtt, it is even more meaningless. Replace with a more specific
> debug message; those wanting to know how much "video ram" they have
> should consult the userspace libraries for the relevant approximation.
> 
> v2: Rebase
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Matthew Auld <matthew.auld at intel.com>

Yes, a much preferred improvement.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list