diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h index 45240e97..68b5a6d4 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | |||
@@ -1226,6 +1226,14 @@ static inline u32 gr_fecs_new_ctx_target_v(u32 r) | |||
1226 | { | 1226 | { |
1227 | return (r >> 28) & 0x3; | 1227 | return (r >> 28) & 0x3; |
1228 | } | 1228 | } |
1229 | static inline u32 gr_fecs_new_ctx_target_vid_mem_f(void) | ||
1230 | { | ||
1231 | return 0x0; | ||
1232 | } | ||
1233 | static inline u32 gr_fecs_new_ctx_target_sys_mem_ncoh_f(void) | ||
1234 | { | ||
1235 | return 0x30000000; | ||
1236 | } | ||
1229 | static inline u32 gr_fecs_new_ctx_valid_s(void) | 1237 | static inline u32 gr_fecs_new_ctx_valid_s(void) |
1230 | { | 1238 | { |
1231 | return 1; | 1239 | return 1; |
@@ -1278,6 +1286,14 @@ static inline u32 gr_fecs_arb_ctx_ptr_target_v(u32 r) | |||
1278 | { | 1286 | { |
1279 | return (r >> 28) & 0x3; | 1287 | return (r >> 28) & 0x3; |
1280 | } | 1288 | } |
1289 | static inline u32 gr_fecs_arb_ctx_ptr_target_vid_mem_f(void) | ||
1290 | { | ||
1291 | return 0x0; | ||
1292 | } | ||
1293 | static inline u32 gr_fecs_arb_ctx_ptr_target_sys_mem_ncoh_f(void) | ||
1294 | { | ||
1295 | return 0x30000000; | ||
1296 | } | ||
1281 | static inline u32 gr_fecs_arb_ctx_cmd_r(void) | 1297 | static inline u32 gr_fecs_arb_ctx_cmd_r(void) |
1282 | { | 1298 | { |
1283 | return 0x00409a10; | 1299 | return 0x00409a10; |