On Sat, May 28, 2022 at 5:13 AM Sudip Mukherjee sudipm.mukherjee@gmail.com wrote:
just tried this with make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- drivers/gpu/drm/drm_edid.s
size_of_edid: mov r0, #144 @, ldmfd sp, {fp, sp, pc} @
So digging a bit deeper - since I have am arm compiler after all - I note that 'sizeof(detailed_timings)' is 88.
Which is completely wrong. It should be 72 bytes (an array of 4 structures, each 18 bytes in size).
I have not dug deeper, but that is clearly the issue.
Now, why that only happens on that spear3xx_defconfig, I have no idea.
Linus