[PATCH v2 03/15] drm/i915: add I915_BO_ALLOC_GPU_ONLY

Thomas Hellström thomas.hellstrom at linux.intel.com
Fri Feb 11 09:23:33 UTC 2022


On 2/10/22 13:13, Matthew Auld wrote:
> If the user doesn't require CPU access for the buffer, then
> ALLOC_GPU_ONLY should be used, in order to prioritise allocating in the
> non-mappable portion of LMEM, on devices with small BAR.
>
> v2(Thomas):
>    - The BO_ALLOC_TOPDOWN naming here is poor, since this is pure lies on
>      systems that don't even have small BAR. A better name is GPU_ONLY,
>      which is accurate regardless of the configuration.
>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>




More information about the dri-devel mailing list