summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/host1x/host1x_hwctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/host/host1x/host1x_hwctx.h')
-rw-r--r--drivers/video/tegra/host/host1x/host1x_hwctx.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/host1x/host1x_hwctx.h b/drivers/video/tegra/host/host1x/host1x_hwctx.h
index 7587642d0e14..13f0071d1e33 100644
--- a/drivers/video/tegra/host/host1x/host1x_hwctx.h
+++ b/drivers/video/tegra/host/host1x/host1x_hwctx.h
@@ -24,6 +24,7 @@
#define __NVHOST_HOST1X_HWCTX_H
#include <linux/kref.h>
+#include "nvhost_hwctx.h"
struct nvhost_hwctx_handler;
struct nvhost_channel;
@@ -40,7 +41,7 @@ struct host1x_hwctx {
u32 save_thresh;
u32 save_slots;
- struct nvmap_handle_ref *restore;
+ struct mem_handle *restore;
u32 *restore_virt;
phys_addr_t restore_phys;
u32 restore_size;
@@ -54,7 +55,7 @@ struct host1x_hwctx_handler {
u32 waitbase;
u32 restore_size;
u32 restore_incrs;
- struct nvmap_handle_ref *save_buf;
+ struct mem_handle *save_buf;
u32 save_incrs;
u32 save_thresh;
u32 save_slots;