mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Allow disabling CDE functionality
CDE is a Tegra SoC specific feature. Add new config option CONFIG_NVGPU_SUPPORT_CDE and #ifdef all CDE specific code with it. JIRA NVGPU-4 Change-Id: I6f0b0047d6ba2b5c36c2eb9b8a1514776741f5b5 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1648002 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b6ab47d396
commit
662c441467
@@ -217,7 +217,9 @@ struct gk20a_platform {
|
||||
/* source frequency for ptimer in hz */
|
||||
u32 ptimer_src_freq;
|
||||
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
bool has_cde;
|
||||
#endif
|
||||
|
||||
/* soc name for finding firmware files */
|
||||
const char *soc_name;
|
||||
|
||||
Reference in New Issue
Block a user