Displaying 3 results from an estimated 3 matches for "2f34c5a".
2016 Sep 18
5
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...ra.c
@@ -245,6 +245,7 @@ nvkm_device_tegra_func = {
.fini = nvkm_device_tegra_fini,
.resource_addr = nvkm_device_tegra_resource_addr,
.resource_size = nvkm_device_tegra_resource_size,
+ .cpu_coherent = 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)...
2016 Sep 19
0
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...ini = nvkm_device_tegra_fini,
> .resource_addr = nvkm_device_tegra_resource_addr,
> .resource_size = nvkm_device_tegra_resource_size,
> + .cpu_coherent = 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_CONFI...
2016 Sep 19
2
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...t;> .resource_addr = nvkm_device_tegra_resource_addr,
>> .resource_size = nvkm_device_tegra_resource_size,
>> + .cpu_coherent = 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
>> +...