diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h index e13561056..b462b173f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2017-2019, 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"), @@ -414,6 +414,18 @@ static inline u32 falcon_falcon_hwcfg_dmem_size_v(u32 r) { return (r >> 9U) & 0x1ffU; } +static inline u32 falcon_falcon_hwcfg1_r(void) +{ + return 0x0000012cU; +} +static inline u32 falcon_falcon_hwcfg1_imem_ports_v(u32 r) +{ + return (r >> 8U) & 0xfU; +} +static inline u32 falcon_falcon_hwcfg1_dmem_ports_v(u32 r) +{ + return (r >> 12U) & 0xfU; +} static inline u32 falcon_falcon_dmatrfbase_r(void) { return 0x00000110U;