search for: is_enabled_config_arm

Displaying 6 results from an estimated 6 matches for "is_enabled_config_arm".

2016 Sep 18
5
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...nt = false, }; int diff --git a/lib/include/nvif/os.h b/lib/include/nvif/os.h index b45a186..2f34c5a 100644 --- a/lib/include/nvif/os.h +++ b/lib/include/nvif/os.h @@ -124,6 +124,12 @@ typedef dma_addr_t resource_size_t; #define __printf(a,b) #define __user +#if defined(CONFIG_ARM) +#define IS_ENABLED_CONFIG_ARM 1 +#else +#define IS_ENABLED_CONFIG_ARM 0 +#endif + #if defined(CONFIG_IOMMU_API) #define IS_ENABLED_CONFIG_IOMMU_API 1 #else -- 2.10.0
2016 Sep 19
0
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...lude/nvif/os.h b/lib/include/nvif/os.h > index b45a186..2f34c5a 100644 > --- a/lib/include/nvif/os.h > +++ b/lib/include/nvif/os.h > @@ -124,6 +124,12 @@ typedef dma_addr_t resource_size_t; > #define __printf(a,b) > #define __user > > +#if defined(CONFIG_ARM) > +#define IS_ENABLED_CONFIG_ARM 1 > +#else > +#define IS_ENABLED_CONFIG_ARM 0 > +#endif > + > #if defined(CONFIG_IOMMU_API) > #define IS_ENABLED_CONFIG_IOMMU_API 1 > #else > -- > 2.10.0 > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedeskt...
2016 Jul 13
1
[PATCH 1/2] ttm: remove special handling of coherent objects
TTM-allocated coherent objects were populated using the DMA API and accessed using the mapping it returned to workaround coherency issues. These issues seem to have been solved, thus remove this extra case to handle and use the regular kernel mapping functions. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/nouveau_bo.c | 61
2016 Sep 19
2
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
....h >> index b45a186..2f34c5a 100644 >> --- a/lib/include/nvif/os.h >> +++ b/lib/include/nvif/os.h >> @@ -124,6 +124,12 @@ typedef dma_addr_t resource_size_t; >> #define __printf(a,b) >> #define __user >> >> +#if defined(CONFIG_ARM) >> +#define IS_ENABLED_CONFIG_ARM 1 >> +#else >> +#define IS_ENABLED_CONFIG_ARM 0 >> +#endif >> + >> #if defined(CONFIG_IOMMU_API) >> #define IS_ENABLED_CONFIG_IOMMU_API 1 >> #else >> -- >> 2.10.0 >> >> _______________________________________________ >> Nouv...
2016 Jun 06
2
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...S_ENABLED(CONFIG_ARM64), + .cpu_coherent = !IS_ENABLED(CONFIG_ARM), }; int diff --git a/lib/include/nvif/os.h b/lib/include/nvif/os.h index 831110904fee..1eda53aa8f45 100644 --- a/lib/include/nvif/os.h +++ b/lib/include/nvif/os.h @@ -130,12 +130,6 @@ typedef dma_addr_t resource_size_t; #define IS_ENABLED_CONFIG_ARM 0 #endif -#if defined(CONFIG_ARM64) -#define IS_ENABLED_CONFIG_ARM64 1 -#else -#define IS_ENABLED_CONFIG_ARM64 0 -#endif - #if defined(CONFIG_IOMMU_API) #define IS_ENABLED_CONFIG_IOMMU_API 1 #else -- 2.8.3
2016 Jun 06
0
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
..._ENABLED(CONFIG_ARM), > }; > > int > diff --git a/lib/include/nvif/os.h b/lib/include/nvif/os.h > index 831110904fee..1eda53aa8f45 100644 > --- a/lib/include/nvif/os.h > +++ b/lib/include/nvif/os.h > @@ -130,12 +130,6 @@ typedef dma_addr_t resource_size_t; > #define IS_ENABLED_CONFIG_ARM 0 > #endif > > -#if defined(CONFIG_ARM64) > -#define IS_ENABLED_CONFIG_ARM64 1 > -#else > -#define IS_ENABLED_CONFIG_ARM64 0 > -#endif > - > #if defined(CONFIG_IOMMU_API) > #define IS_ENABLED_CONFIG_IOMMU_API 1 > #else >