From 932377f12a4d928ea1e4728f242abe3a1f07eaa6 Mon Sep 17 00:00:00 2001 From: Kevin Huang Date: Wed, 9 Apr 2014 14:47:03 -0700 Subject: gpu: nvpug: add hal func get_gpc_tpc_mask Retrieve which TPC is floorswept. Bug 1450798 Change-Id: I3ea60703695448c68cd3435f443b280d5b2f0995 Signed-off-by: Kevin Huang Reviewed-on: http://git-master/r/403876 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 3d93ccde..edf1d548 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -130,6 +130,7 @@ struct gpu_ops { struct gk20a_ctxsw_ucode_segments *segments, u32 reg_offset); int (*load_ctxsw_ucode)(struct gk20a *g); + u32 (*get_gpc_tpc_mask)(struct gk20a *g, u32 gpc_index); } gr; const char *name; struct { -- cgit v1.2.2