From 872b3946dd824d8f9039b6ed0fe02f400799a849 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Fri, 20 Mar 2020 14:27:03 -0700 Subject: [PATCH] gpu: nvgpu: add nvgpu-next fb gops JIRA NVGPU-5222 Signed-off-by: Seshendra Gadagottu Change-Id: I3004fcfd9cf17b81c6d218954da140982a76c6fd Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2316212 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinod Gopalakrishnakurup Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/include/nvgpu/gops_fb.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/gops_fb.h b/drivers/gpu/nvgpu/include/nvgpu/gops_fb.h index ca4860c0e..7c7444458 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gops_fb.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gops_fb.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2019-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"), @@ -363,6 +363,11 @@ struct gops_fb { int (*mmu_invalidate_replay)(struct gk20a *g, u32 invalidate_replay_val); #endif + +#if defined(CONFIG_NVGPU_HAL_NON_FUSA) && defined(CONFIG_NVGPU_NEXT) +#include "include/nvgpu/nvgpu_next_gops_fb.h" +#endif + #ifdef CONFIG_NVGPU_DGPU /** * @brief Initialize FBPA unit ECC support.