mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: MISRA 10.3-Conversions to/from an enum
Fix violations where the conversion is from a non-enum type to enum type or vice-versa. JIRA NVGPU-659 Change-Id: I45f43c907b810cc86b2a4480809d0c6757ed3486 Signed-off-by: Amulya <Amurthyreddy@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1802322 GVS: Gerrit_Virtual_Submit Tested-by: Amulya Murthyreddy <amurthyreddy@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Adeel Raza <araza@nvidia.com> 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
05f45bcfc3
commit
da43fc5560
@@ -31,6 +31,7 @@
|
||||
|
||||
struct gk20a_debug_output;
|
||||
struct mmu_fault_info;
|
||||
enum gk20a_nonstall_ops;
|
||||
|
||||
enum {
|
||||
NVGPU_FIFO_RUNLIST_INTERLEAVE_LEVEL_LOW = 0,
|
||||
@@ -228,7 +229,7 @@ int gk20a_init_fifo_support(struct gk20a *g);
|
||||
int gk20a_init_fifo_setup_hw(struct gk20a *g);
|
||||
|
||||
void gk20a_fifo_isr(struct gk20a *g);
|
||||
u32 gk20a_fifo_nonstall_isr(struct gk20a *g);
|
||||
enum gk20a_nonstall_ops gk20a_fifo_nonstall_isr(struct gk20a *g);
|
||||
|
||||
int gk20a_fifo_preempt_channel(struct gk20a *g, u32 chid);
|
||||
int gk20a_fifo_preempt_tsg(struct gk20a *g, u32 tsgid);
|
||||
|
||||
Reference in New Issue
Block a user