Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-12-08 Thread Lucas De Marchi
On Wed, Dec 08, 2021 at 09:42:15AM +0530, Mullati Siva wrote: From: Siva Mullati Only hw that supports mappable aperture would hit this path vm_fault_gtt/vm_fault_tmm, So we never hit this function remap_io_mapping() in discrete, So skip this code for non-x86 architectures. v2: use IS_ENABLED

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-12-07 Thread Mullati Siva
From: Siva Mullati Only hw that supports mappable aperture would hit this path vm_fault_gtt/vm_fault_tmm, So we never hit this function remap_io_mapping() in discrete, So skip this code for non-x86 architectures. v2: use IS_ENABLED () instead of #if defined v3: move function prototypes from i91

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-12-07 Thread Mullati Siva
From: Siva Mullati Only hw that supports mappable aperture would hit this path vm_fault_gtt/vm_fault_tmm, So we never hit this function remap_io_mapping() in discrete, So skip this code for non-x86 architectures. v2: use IS_ENABLED () instead of #if defined v3: move function prototypes from i91

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-12-01 Thread Mullati Siva
From: Siva Mullati Only hw that supports mappable aperture would hit this path vm_fault_gtt/vm_fault_tmm, So we never hit this function remap_io_mapping() in discrete, So skip this code for non-x86 architectures. v2: use IS_ENABLED () instead of #if defined v3: move function prototypes from i91

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-12-01 Thread Jani Nikula
On Tue, 30 Nov 2021, Lucas De Marchi wrote: > On Mon, Nov 22, 2021 at 06:01:42PM +0530, Mullati Siva wrote: >>From: Siva Mullati >> >>Only hw that supports mappable aperture would hit this path >>vm_fault_gtt/vm_fault_tmm, So we never hit this function >>remap_io_mapping() in discrete, So skip th

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-30 Thread Lucas De Marchi
On Mon, Nov 22, 2021 at 06:01:42PM +0530, Mullati Siva wrote: From: Siva Mullati Only hw that supports mappable aperture would hit this path vm_fault_gtt/vm_fault_tmm, So we never hit this function remap_io_mapping() in discrete, So skip this code for non-x86 architectures. Signed-off-by: Siva

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-22 Thread Mullati Siva
From: Siva Mullati Only hw that supports mappable aperture would hit this path vm_fault_gtt/vm_fault_tmm, So we never hit this function remap_io_mapping() in discrete, So skip this code for non-x86 architectures. Signed-off-by: Siva Mullati --- drivers/gpu/drm/i915/gem/i915_gem_mman.c | 1 +

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-16 Thread Matthew Auld
On Sat, 13 Nov 2021 at 17:33, Lucas De Marchi wrote: > > On Sat, Nov 13, 2021 at 12:18:10AM +0200, Jani Nikula wrote: > >On Fri, 12 Nov 2021, Mullati Siva wrote: > >> The _PAGE_CACHE_MASK macro is not defined in non-x86 > >> architectures and it's been used in remap_io_mapping(). > >> Only hw tha

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-13 Thread Lucas De Marchi
On Sat, Nov 13, 2021 at 12:18:10AM +0200, Jani Nikula wrote: On Fri, 12 Nov 2021, Mullati Siva wrote: The _PAGE_CACHE_MASK macro is not defined in non-x86 architectures and it's been used in remap_io_mapping(). Only hw that supports mappable aperture would hit this path remap_io_mapping(), So s

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Jani Nikula
On Fri, 12 Nov 2021, Mullati Siva wrote: > The _PAGE_CACHE_MASK macro is not defined in non-x86 > architectures and it's been used in remap_io_mapping(). > Only hw that supports mappable aperture would hit this path > remap_io_mapping(), So skip this code for non-x86 architectures. Patch changelo

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Mullati Siva
The _PAGE_CACHE_MASK macro is not defined in non-x86 architectures and it's been used in remap_io_mapping(). Only hw that supports mappable aperture would hit this path remap_io_mapping(), So skip this code for non-x86 architectures. Signed-off-by: Mullati Siva --- drivers/gpu/drm/i915/i915_mm.c

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Jani Nikula
On Fri, 12 Nov 2021, Mullati Siva wrote: > From: "Mullati, Siva" > > The _PAGE_CACHE_MASK macro is not defined in non-x86 > architectures and it's been used in remap_io_mapping(). > Only hw that supports mappable aperture would hit this path > remap_io_mapping(), So skip this code for non-x86 ar

[Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-12 Thread Mullati Siva
From: "Mullati, Siva" The _PAGE_CACHE_MASK macro is not defined in non-x86 architectures and it's been used in remap_io_mapping(). Only hw that supports mappable aperture would hit this path remap_io_mapping(), So skip this code for non-x86 architectures. Signed-off-by: Mullati, Siva --- driv