From cc17f80896111cb3597d435cd42b84068111d0fd Mon Sep 17 00:00:00 2001 From: Rajesh Devaraj Date: Fri, 10 Feb 2023 13:14:09 +0000 Subject: [PATCH] gpu: nvgpu: add gops to init pce2lce and grce configs This patch adds the following gops for CE unit: - init_pce2lce_configs - init_grce_configs JIRA NVGPU-9329 Change-Id: I6e067b1f5066ccd71c4b287fa564a77afe4a25a5 Signed-off-by: Rajesh Devaraj Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2856498 Reviewed-by: Seema Khowala Reviewed-by: Ankur Kishore GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/include/nvgpu/gops/ce.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/gops/ce.h b/drivers/gpu/nvgpu/include/nvgpu/gops/ce.h index f5b4f6ea6..b019ddc43 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gops/ce.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gops/ce.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2019-2023, 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"), @@ -142,6 +142,8 @@ struct gops_ce { void (*init_prod_values)(struct gk20a *g); void (*halt_engine)(struct gk20a *g, const struct nvgpu_device *dev); void (*request_idle)(struct gk20a *g); + void (*init_pce2lce_configs)(struct gk20a *g, u32 *pce2lce_configs); + void (*init_grce_configs)(struct gk20a *g, u32 *grce_configs); /* * @brief Enable/disable ce interrupts.