Re: [Intel-gfx] [PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-12 Thread Jason Ekstrand
On Mon, Jul 12, 2021 at 9:38 AM Daniel Vetter wrote: > > On Mon, Jul 12, 2021 at 09:31:13AM -0500, Jason Ekstrand wrote: > > On Mon, Jul 12, 2021 at 9:12 AM Daniel Vetter wrote: > > > > > > On Mon, Jul 12, 2021 at 08:47:24AM -0500, Jason Ekstrand wrote: > > > > On Fri, Jul 9, 2021 at 6:41 AM

Re: [Intel-gfx] [PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-12 Thread Daniel Vetter
On Mon, Jul 12, 2021 at 09:31:13AM -0500, Jason Ekstrand wrote: > On Mon, Jul 12, 2021 at 9:12 AM Daniel Vetter wrote: > > > > On Mon, Jul 12, 2021 at 08:47:24AM -0500, Jason Ekstrand wrote: > > > On Fri, Jul 9, 2021 at 6:41 AM Maarten Lankhorst > > > wrote: > > > > > > > > This is only used for

Re: [Intel-gfx] [PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-12 Thread Jason Ekstrand
On Mon, Jul 12, 2021 at 9:12 AM Daniel Vetter wrote: > > On Mon, Jul 12, 2021 at 08:47:24AM -0500, Jason Ekstrand wrote: > > On Fri, Jul 9, 2021 at 6:41 AM Maarten Lankhorst > > wrote: > > > > > > This is only used for ttm, and tells userspace that the mapping type is > > > ignored. This

Re: [Intel-gfx] [PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-12 Thread Daniel Vetter
On Mon, Jul 12, 2021 at 08:47:24AM -0500, Jason Ekstrand wrote: > On Fri, Jul 9, 2021 at 6:41 AM Maarten Lankhorst > wrote: > > > > This is only used for ttm, and tells userspace that the mapping type is > > ignored. This disables the other type of mmap offsets when discrete > > memory is used,

Re: [Intel-gfx] [PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-12 Thread Jason Ekstrand
On Fri, Jul 9, 2021 at 6:41 AM Maarten Lankhorst wrote: > > This is only used for ttm, and tells userspace that the mapping type is > ignored. This disables the other type of mmap offsets when discrete > memory is used, so fix the selftests as well. > > Document the struct as well, so it shows up

Re: [Intel-gfx] [PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-09 Thread Daniel Vetter
On Fri, Jul 9, 2021 at 1:41 PM Maarten Lankhorst wrote: > > This is only used for ttm, and tells userspace that the mapping type is > ignored. This disables the other type of mmap offsets when discrete > memory is used, so fix the selftests as well. > > Document the struct as well, so it shows up

[PATCH v2] drm/i915: Add TTM offset argument to mmap.

2021-07-09 Thread Maarten Lankhorst
This is only used for ttm, and tells userspace that the mapping type is ignored. This disables the other type of mmap offsets when discrete memory is used, so fix the selftests as well. Document the struct as well, so it shows up in docbook correctly. Changes since v1: - Add docbook entries.