From dfab7cc86acdc26c3705551740c55b4d4898587a Mon Sep 17 00:00:00 2001 From: David Ung Date: Mon, 27 Apr 2020 16:15:59 -0700 Subject: gpu: nvgpu: Regenerated headers Regenerating header from register generator Bug 2833620 Change-Id: Idc8e922bb611ed5acae66b6ca38db4bb9c8a1904 Signed-off-by: David Ung Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2335263 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h') diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h index 07f39943..6aeb4355 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -86,7 +86,7 @@ static inline u32 gmmu_new_pde_aperture_sys_mem_ncoh_f(void) } static inline u32 gmmu_new_pde_address_sys_f(u32 v) { - return (v & 0xfffffffU) << 8U; + return (v & 0xffffffU) << 8U; } static inline u32 gmmu_new_pde_address_sys_w(void) { @@ -194,7 +194,7 @@ static inline u32 gmmu_new_dual_pde_vol_big_false_f(void) } static inline u32 gmmu_new_dual_pde_address_small_sys_f(u32 v) { - return (v & 0xfffffffU) << 8U; + return (v & 0xffffffU) << 8U; } static inline u32 gmmu_new_dual_pde_address_small_sys_w(void) { @@ -242,7 +242,7 @@ static inline u32 gmmu_new_pte_privilege_false_f(void) } static inline u32 gmmu_new_pte_address_sys_f(u32 v) { - return (v & 0xfffffffU) << 8U; + return (v & 0xffffffU) << 8U; } static inline u32 gmmu_new_pte_address_sys_w(void) { -- cgit v1.2.2