Re: [PATCH] drm/imagination: Kconfig: add 'PAGE_SIZE=4K' dependency

2024-02-28 Thread yaolu
在 2024/2/28 18:47, Matt Coster 写道: Hi, thanks for the patch! On 28/02/2024 01:23, Lu Yao wrote: When 'PAGE_SIZE=64K',the following compilation error occurs: " ../drivers/gpu/drm/imagination/pvr_fw_mips.c: In function ‘pvr_mips_fw_process’: ../drivers/gpu/drm/imagination/pvr_fw_mips.c:140

Re: [PATCH] drm/imagination: Kconfig: add 'PAGE_SIZE=4K' dependency

2024-02-28 Thread Matt Coster
Hi, thanks for the patch! On 28/02/2024 01:23, Lu Yao wrote: > When 'PAGE_SIZE=64K',the following compilation error occurs: > " > ../drivers/gpu/drm/imagination/pvr_fw_mips.c: In function > ‘pvr_mips_fw_process’: > ../drivers/gpu/drm/imagination/pvr_fw_mips.c:140:60: error: array > subscript 0

[PATCH] drm/imagination: Kconfig: add 'PAGE_SIZE=4K' dependency

2024-02-27 Thread Lu Yao
When 'PAGE_SIZE=64K',the following compilation error occurs: " ../drivers/gpu/drm/imagination/pvr_fw_mips.c: In function ‘pvr_mips_fw_process’: ../drivers/gpu/drm/imagination/pvr_fw_mips.c:140:60: error: array subscript 0 is outside the bounds of an interior zero-length array ‘dma_addr_t[0]’ {a