drm/imagination: Implement MIPS firmware processor and MMU support
Add support for the MIPS firmware processor, used in the Series AXE GPU. The MIPS firmware processor uses a separate MMU to the rest of the GPU, so this patch adds support for that as well. Changes since v8: - Corrected license identifiers Changes since v6: - Fix integer overflow in VM map error path Changes since v5: - Use alloc_page() when allocating MIPS pagetable Changes since v3: - Get regs resource (removed from GPU resources commit) Signed-off-by:Sarah Walker <sarah.walker@imgtec.com> Signed-off-by:
Donald Robson <donald.robson@imgtec.com> Link: https://lore.kernel.org/r/a114f7b3e97cb07460c7f2842901716a9207b0c4.1700668843.git.donald.robson@imgtec.com Signed-off-by:
Maxime Ripard <mripard@kernel.org>
Showing
- drivers/gpu/drm/imagination/Makefile 3 additions, 1 deletiondrivers/gpu/drm/imagination/Makefile
- drivers/gpu/drm/imagination/pvr_device.c 4 additions, 1 deletiondrivers/gpu/drm/imagination/pvr_device.c
- drivers/gpu/drm/imagination/pvr_device.h 3 additions, 0 deletionsdrivers/gpu/drm/imagination/pvr_device.h
- drivers/gpu/drm/imagination/pvr_fw.c 2 additions, 0 deletionsdrivers/gpu/drm/imagination/pvr_fw.c
- drivers/gpu/drm/imagination/pvr_fw_mips.c 252 additions, 0 deletionsdrivers/gpu/drm/imagination/pvr_fw_mips.c
- drivers/gpu/drm/imagination/pvr_fw_mips.h 48 additions, 0 deletionsdrivers/gpu/drm/imagination/pvr_fw_mips.h
- drivers/gpu/drm/imagination/pvr_vm_mips.c 238 additions, 0 deletionsdrivers/gpu/drm/imagination/pvr_vm_mips.c
- drivers/gpu/drm/imagination/pvr_vm_mips.h 22 additions, 0 deletionsdrivers/gpu/drm/imagination/pvr_vm_mips.h
drivers/gpu/drm/imagination/pvr_fw_mips.c
0 → 100644
drivers/gpu/drm/imagination/pvr_fw_mips.h
0 → 100644
drivers/gpu/drm/imagination/pvr_vm_mips.c
0 → 100644
drivers/gpu/drm/imagination/pvr_vm_mips.h
0 → 100644
Please register or sign in to comment