summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm/gmmu_t19x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/gmmu_t19x.c')
-rw-r--r--drivers/gpu/nvgpu/common/mm/gmmu_t19x.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu_t19x.c b/drivers/gpu/nvgpu/common/mm/gmmu_t19x.c
index 9f9c188d..f2386b3f 100644
--- a/drivers/gpu/nvgpu/common/mm/gmmu_t19x.c
+++ b/drivers/gpu/nvgpu/common/mm/gmmu_t19x.c
@@ -20,12 +20,10 @@
20 * DEALINGS IN THE SOFTWARE. 20 * DEALINGS IN THE SOFTWARE.
21 */ 21 */
22 22
23#include <uapi/linux/nvgpu.h>
24
25#include <nvgpu/gmmu.h> 23#include <nvgpu/gmmu.h>
24#include <nvgpu/vm.h>
26 25
27void nvgpu_gmmu_add_t19x_attrs(struct nvgpu_gmmu_attrs *attrs, u32 flags) 26void nvgpu_gmmu_add_t19x_attrs(struct nvgpu_gmmu_attrs *attrs, u32 flags)
28{ 27{
29 attrs->t19x_attrs.l3_alloc = (bool)(flags & 28 attrs->t19x_attrs.l3_alloc = (bool)(flags & NVGPU_VM_MAP_L3_ALLOC);
30 NVGPU_AS_MAP_BUFFER_FLAGS_L3_ALLOC);
31} 29}