(regarding filing in two states) California and Oklahoma ~ CA question

Hello,

I live and file the vast majority of my income in California.  I also have oil royalties from Oklahoma.  My CA tax form asks me to let them know what my AGI was in 2022 for Oklahoma.  However, on the Oklahoma form, it shows two different AGI numbers:  It has the AGI for Oklahoma, and in a separate line it has the AGI for All Sources.  Which figure do I use, the one only from OK or the "All sources"?  Again, thanks to anyone who can enlighten me on this!  I appreciate the help on this forum so very much!