Re: [PATCH] drm/i915/mtl: Disable stolen memory backed FB for A0

2023-03-09 Thread Andi Shyti
Hi Nirmoy, On Thu, Mar 09, 2023 at 05:49:05PM +0100, Nirmoy Das wrote: > Stolen memory is not usable for MTL A0 stepping beyond > certain access size and we have no control over userspace > access size of /dev/fb which can be backed by stolen memory. > So disable stolen memory backed fb by setting

[PATCH] drm/i915/mtl: Disable stolen memory backed FB for A0

2023-03-09 Thread Nirmoy Das
Stolen memory is not usable for MTL A0 stepping beyond certain access size and we have no control over userspace access size of /dev/fb which can be backed by stolen memory. So disable stolen memory backed fb by setting i915->dsm.usable_size to zero. Cc: Matthew Auld Cc: Andi Shyti Cc: Daniele C