diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h index d2629b08..d10345c3 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h | |||
@@ -276,23 +276,23 @@ static inline u32 fifo_intr_mmu_fault_info_r(u32 i) | |||
276 | } | 276 | } |
277 | static inline u32 fifo_intr_mmu_fault_info_type_v(u32 r) | 277 | static inline u32 fifo_intr_mmu_fault_info_type_v(u32 r) |
278 | { | 278 | { |
279 | return (r >> 0) & 0xf; | 279 | return (r >> 0) & 0x1f; |
280 | } | 280 | } |
281 | static inline u32 fifo_intr_mmu_fault_info_engine_subid_v(u32 r) | 281 | static inline u32 fifo_intr_mmu_fault_info_client_type_v(u32 r) |
282 | { | 282 | { |
283 | return (r >> 6) & 0x1; | 283 | return (r >> 20) & 0x1; |
284 | } | 284 | } |
285 | static inline u32 fifo_intr_mmu_fault_info_engine_subid_gpc_v(void) | 285 | static inline u32 fifo_intr_mmu_fault_info_client_type_gpc_v(void) |
286 | { | 286 | { |
287 | return 0x00000000; | 287 | return 0x00000000; |
288 | } | 288 | } |
289 | static inline u32 fifo_intr_mmu_fault_info_engine_subid_hub_v(void) | 289 | static inline u32 fifo_intr_mmu_fault_info_client_type_hub_v(void) |
290 | { | 290 | { |
291 | return 0x00000001; | 291 | return 0x00000001; |
292 | } | 292 | } |
293 | static inline u32 fifo_intr_mmu_fault_info_client_v(u32 r) | 293 | static inline u32 fifo_intr_mmu_fault_info_client_v(u32 r) |
294 | { | 294 | { |
295 | return (r >> 8) & 0x3f; | 295 | return (r >> 8) & 0x7f; |
296 | } | 296 | } |
297 | static inline u32 fifo_intr_pbdma_id_r(void) | 297 | static inline u32 fifo_intr_pbdma_id_r(void) |
298 | { | 298 | { |