Skip to content

Commit cc1aeed

Browse files
sarah-walker-imgtecmripard
authored andcommitted
drm/imagination: Implement firmware infrastructure and META FW support
The infrastructure includes parsing of the firmware image, initialising FW-side structures, handling the kernel and firmware command ringbuffers and starting & stopping the firmware processor. This patch also adds the necessary support code for the META firmware processor. Changes since v8: - Fix documentation for pvr_fwccb_process() - Corrected license identifiers Changes since v6: - Add a minimum retry count to pvr_kccb_reserve_slot_sync() Changes since v5: - Add workaround for BRN 71242 - Attempt to recover GPU on MMU flush command failure Changes since v4: - Remove use of drm_gem_shmem_get_pages() - Remove interrupt resource name Changes since v3: - Hard reset FW processor on watchdog timeout - Switch to threaded IRQ - Rework FW object creation/initialisation to aid hard reset - Added MODULE_FIRMWARE() - Use drm_dev_{enter,exit} Signed-off-by: Sarah Walker <[email protected]> Signed-off-by: Donald Robson <[email protected]> Link: https://lore.kernel.org/r/bb52a8dc84f296b37dc6668dfe8fbaf2ba551139.1700668843.git.donald.robson@imgtec.com Signed-off-by: Maxime Ripard <[email protected]>
1 parent 727538a commit cc1aeed

18 files changed

+4015
-24
lines changed

drivers/gpu/drm/imagination/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
subdir-ccflags-y := -I$(srctree)/$(src)
55

66
powervr-y := \
7+
pvr_ccb.o \
78
pvr_device.o \
89
pvr_device_info.o \
910
pvr_drv.o \
1011
pvr_fw.o \
12+
pvr_fw_meta.o \
13+
pvr_fw_startstop.o \
14+
pvr_fw_trace.o \
1115
pvr_gem.o \
1216
pvr_mmu.o \
1317
pvr_power.o \

0 commit comments

Comments
 (0)