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

Matthew Auld matthew.auld at intel.com
Tue Jan 26 10:38:50 UTC 2021


On 26/01/2021 10:27, Chris Wilson wrote:
> 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);

Ok, makes sense.

> -Chris
> 


More information about the Intel-gfx mailing list