diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/fb/fb_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/fb/fb_gv100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gv100.c b/drivers/gpu/nvgpu/common/fb/fb_gv100.c index 3bfac676..1088ca90 100644 --- a/drivers/gpu/nvgpu/common/fb/fb_gv100.c +++ b/drivers/gpu/nvgpu/common/fb/fb_gv100.c | |||
@@ -39,11 +39,11 @@ | |||
39 | #include <nvgpu/utils.h> | 39 | #include <nvgpu/utils.h> |
40 | #include <nvgpu/timers.h> | 40 | #include <nvgpu/timers.h> |
41 | #include <nvgpu/gk20a.h> | 41 | #include <nvgpu/gk20a.h> |
42 | #include <nvgpu/unit.h> | ||
42 | 43 | ||
43 | #include "fb_gv100.h" | 44 | #include "fb_gv100.h" |
44 | 45 | ||
45 | #include <nvgpu/hw/gv100/hw_fb_gv100.h> | 46 | #include <nvgpu/hw/gv100/hw_fb_gv100.h> |
46 | #include <nvgpu/hw/gv100/hw_mc_gv100.h> | ||
47 | 47 | ||
48 | #define HW_SCRUB_TIMEOUT_DEFAULT 100 /* usec */ | 48 | #define HW_SCRUB_TIMEOUT_DEFAULT 100 /* usec */ |
49 | #define HW_SCRUB_TIMEOUT_MAX 2000000 /* usec */ | 49 | #define HW_SCRUB_TIMEOUT_MAX 2000000 /* usec */ |
@@ -160,7 +160,7 @@ int gv100_fb_memory_unlock(struct gk20a *g) | |||
160 | } | 160 | } |
161 | 161 | ||
162 | /* Enable nvdec */ | 162 | /* Enable nvdec */ |
163 | g->ops.mc.enable(g, mc_enable_nvdec_enabled_f()); | 163 | g->ops.mc.enable(g, g->ops.mc.reset_mask(g, NVGPU_UNIT_NVDEC)); |
164 | 164 | ||
165 | /* nvdec falcon reset */ | 165 | /* nvdec falcon reset */ |
166 | nvgpu_flcn_reset(&g->nvdec_flcn); | 166 | nvgpu_flcn_reset(&g->nvdec_flcn); |