From f6c92780ffe3b79cb84fb6d4321dcc13d2a07f73 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 14 Apr 2017 15:25:57 -0700 Subject: gpu: nvgpu: Move ptimer_src_freq to gk20a Copy ptimer_src_freq to struct gk20a at probe time, and access it from gk20a instead of platform_gk20a. JIRA NVGPU-16 Change-Id: I92c1b83d6e2305a19eb2cd267b7dd8d97c1fdc44 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1463544 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (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 616c25ee..6c846251 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -996,6 +996,8 @@ struct gk20a { u32 default_pri_timeout; + u32 ptimer_src_freq; + unsigned int aggressive_sync_destroy_thresh; bool aggressive_sync_destroy; -- cgit v1.2.2