mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: Move CDE code to Linux module
CDE is only used in Linux platforms, and the code is highly dependent on Linux APIs. Move the common CDE code to Linux module and leave only the chip specific parts to HAL. Change-Id: I507fe7eceaf7607303dfdddcf438449a5f582ea7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1554755 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
17451138cf
commit
c37c9baae6
@@ -19,6 +19,7 @@
|
||||
#include <linux/cdev.h>
|
||||
|
||||
#include "gk20a/gk20a.h"
|
||||
#include "cde.h"
|
||||
|
||||
struct nvgpu_os_linux {
|
||||
struct gk20a g;
|
||||
@@ -108,6 +109,7 @@ struct nvgpu_os_linux {
|
||||
struct dentry *debugfs_force_preemption_gfxp;
|
||||
struct dentry *debugfs_dump_ctxsw_stats;
|
||||
#endif
|
||||
struct gk20a_cde_app cde_app;
|
||||
};
|
||||
|
||||
static inline struct nvgpu_os_linux *nvgpu_os_linux_from_gk20a(struct gk20a *g)
|
||||
|
||||
Reference in New Issue
Block a user