diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c index e8da54fb..b23d2794 100644 --- a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | |||
@@ -656,8 +656,6 @@ int gr_gk20a_css_attach(struct gk20a *g, | |||
656 | int ret = 0; | 656 | int ret = 0; |
657 | struct gr_gk20a *gr; | 657 | struct gr_gk20a *gr; |
658 | 658 | ||
659 | if (!g->allow_all) | ||
660 | return -EACCES; | ||
661 | /* we must have a placeholder to store pointer to client structure */ | 659 | /* we must have a placeholder to store pointer to client structure */ |
662 | if (!cs_client) | 660 | if (!cs_client) |
663 | return -EINVAL; | 661 | return -EINVAL; |
@@ -713,9 +711,6 @@ int gr_gk20a_css_detach(struct gk20a *g, | |||
713 | int ret = 0; | 711 | int ret = 0; |
714 | struct gr_gk20a *gr; | 712 | struct gr_gk20a *gr; |
715 | 713 | ||
716 | if (!g->allow_all) | ||
717 | return -EACCES; | ||
718 | |||
719 | if (!cs_client) | 714 | if (!cs_client) |
720 | return -EINVAL; | 715 | return -EINVAL; |
721 | 716 | ||
@@ -741,9 +736,6 @@ int gr_gk20a_css_flush(struct gk20a *g, | |||
741 | int ret = 0; | 736 | int ret = 0; |
742 | struct gr_gk20a *gr; | 737 | struct gr_gk20a *gr; |
743 | 738 | ||
744 | if (!g->allow_all) | ||
745 | return -EACCES; | ||
746 | |||
747 | if (!cs_client) | 739 | if (!cs_client) |
748 | return -EINVAL; | 740 | return -EINVAL; |
749 | 741 | ||