Got 2021 RMD after 1 Apr 2022. 1099R has both 2021 and 2022 RMD as one lump sum. Must I file a 5329?

My funds computer said the RMD had been distributed. Asked for 2021 RMD in June, and got it in October after computer problem fixed.