From 5e90bf3f6c35361cacc1ce8588c3120091d54f58 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Mon, 27 Aug 2018 14:16:59 +0300 Subject: gpu: nvgpu: remove ctx header desc type The graphics subctx header object is nothing but memory. Drop the dependency to gr header file in the channel header file and substitute struct nvgpu_mem for struct ctx_header_desc. Jira NVGPU-967 Change-Id: Ic3976391016c42d2ada4aac3e0851a1222244ce9 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1807370 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index f7515294..2a1fd03f 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -29,8 +29,8 @@ #include #include #include +#include -#include "gr_gk20a.h" struct gk20a; struct dbg_session_gk20a; @@ -266,7 +266,7 @@ struct channel_gk20a { u64 virt_ctx; #endif - struct ctx_header_desc ctx_header; + struct nvgpu_mem ctx_header; /* Any operating system specific data. */ void *os_priv; -- cgit v1.2.2