diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fb_gv11b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c index 384dfb20..a44589d5 100644 --- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <nvgpu/log.h> | 19 | #include <nvgpu/log.h> |
20 | #include <nvgpu/enabled.h> | 20 | #include <nvgpu/enabled.h> |
21 | #include <nvgpu/gmmu.h> | 21 | #include <nvgpu/gmmu.h> |
22 | #include <nvgpu/barrier.h> | ||
22 | 23 | ||
23 | #include "gk20a/gk20a.h" | 24 | #include "gk20a/gk20a.h" |
24 | #include "gk20a/kind_gk20a.h" | 25 | #include "gk20a/kind_gk20a.h" |
@@ -721,7 +722,7 @@ static void gv11b_fb_fault_buffer_get_ptr_update(struct gk20a *g, | |||
721 | /* make sure get ptr update is visible to everyone to avoid | 722 | /* make sure get ptr update is visible to everyone to avoid |
722 | * reading already read entry | 723 | * reading already read entry |
723 | */ | 724 | */ |
724 | mb(); | 725 | nvgpu_mb(); |
725 | } | 726 | } |
726 | 727 | ||
727 | static u32 gv11b_fb_fault_buffer_get_index(struct gk20a *g, | 728 | static u32 gv11b_fb_fault_buffer_get_index(struct gk20a *g, |