[igt-dev] [i-g-t, V4 1/2] lib/i915: Use FIXED mapping only for discrete memory
Matthew Auld
matthew.william.auld at gmail.com
Wed Sep 1 11:22:25 UTC 2021
On Wed, 1 Sept 2021 at 11:41, Tejas Upadhyay
<tejaskumarx.surendrakumar.upadhyay at intel.com> wrote:
>
> The FIXED mapping is only used for discrete, and mapping type
> is pre-defined. This disables the other type of mmap
> offsets when discrete memory is used.
>
> Taken from kernel commit:
> commit 7961c5b60f23 ("drm/i915: Add TTM offset argument to mmap.")
>
> Changes since V3:
> - Split change in two commits - Matthew Auld
> Changes since V2:
> - Add previous logic check for GTT offset type - Ashutosh Dixit
> - Added documentation for library API change - Daniel Vetter
> Changes since V1:
> - Make logic more readable - Petri Latvala
>
> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the igt-dev
mailing list