From 06a43f2adc63a7633815a635ad30e04cdc2f0ed6 Mon Sep 17 00:00:00 2001 From: shashank singh Date: Thu, 25 Jun 2020 17:29:49 +0530 Subject: [PATCH] gpu: nvgpu: create new hals for ltc intr Create new hals for ltc intr so that different chips can reuse common code. Jira NVGPU-5446 Change-Id: I99ee5822e366f3fb17d09bfbd5a311cfc658ca42 Signed-off-by: shashank singh Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2366791 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Antony Clince Alex Reviewed-by: Vaibhav Kachore Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/gops_ltc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/nvgpu/include/nvgpu/gops_ltc.h b/drivers/gpu/nvgpu/include/nvgpu/gops_ltc.h index 5592a8c12..9e7fdbf0d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gops_ltc.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gops_ltc.h @@ -52,6 +52,9 @@ struct gops_ltc_intr { /** @cond DOXYGEN_SHOULD_SKIP_THIS */ void (*configure)(struct gk20a *g); void (*en_illegal_compstat)(struct gk20a *g, bool enable); +#if defined(CONFIG_NVGPU_HAL_NON_FUSA) && defined(CONFIG_NVGPU_NEXT) +#include "include/nvgpu/nvgpu_next_gops_ltc.h" +#endif /** @endcond DOXYGEN_SHOULD_SKIP_THIS */ };