From a52a50d407d6ac4b6f64c8b71e93d6cbd028e5f7 Mon Sep 17 00:00:00 2001 From: Vijayakumar Date: Fri, 22 Aug 2014 17:22:57 +0530 Subject: gpu: nvgpu: gm20b: dynamically detect priv security for secure boot of falcon based on the config setting and fuse secure no non secure boot is done Change-Id: I5937ba945c5a3a86f72e0f2a9078fcde01977137 Signed-off-by: Vijayakumar Reviewed-on: http://git-master/r/487684 Tested-by: Terje Bergstrom GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/hal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/hal.c') diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c index 1aae0304..8d1a29dd 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.c +++ b/drivers/gpu/nvgpu/gk20a/hal.c @@ -26,7 +26,9 @@ int gpu_init_hal(struct gk20a *g) gk20a_init_hal(&g->ops); break; case GK20A_GPUID_GM20B: - gm20b_init_hal(&g->ops); + gk20a_dbg_info("gm20b detected"); + if (gm20b_init_hal(&g->ops)) + return -ENODEV; break; default: gk20a_err(&g->dev->dev, "no support for %x", ver); -- cgit v1.2.2