[Intel-gfx] [PATCH 2/7] drm/i915: reserve stolen for LMEM region

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 26 10:27:02 UTC 2021


Quoting Matthew Auld (2021-01-26 09:46:07)
> @@ -162,7 +165,8 @@ setup_lmem(struct drm_i915_private *i915)
>                 drm_dbg(&i915->drm, "Intel graphics LMEM: %pR\n", &mem->region);
>                 drm_dbg(&i915->drm, "Intel graphics LMEM IO start: %pa\n",
>                          &mem->io_start);
> -               drm_info(&i915->drm, "Intel graphics LMEM size: %pa\n", &size);
> +               drm_info(&i915->drm, "Intel graphics LMEM size: %pa\n",
> +                        &lmem_size);

LMEM is Intel jargon. Intel is more or less redundant here as we have
the device and driver already in the message.

drm_info(&i915->drm, "Local memory available: %pa\n", &lmem_size);
-Chris


More information about the Intel-gfx mailing list