Pi3 with 7" Touch Screen

I’ve just installed the latest version of OSMC on my Pi 3.
I can watch it install, but once it’s installed the screen stops working.
I’ve repeated the process with an HDMI screen and it all works fine.
How do I get it to work with my 7" Pi touch screen?

I found a post on here that suggests setting some config, but that was for a previous version

Change in config.txt from

dtoverlay=vc4-kms-v3d,cma-512
to
dtoverlay=vc4-fkms-v3d,cma-512

This has worked, but is this the correct solution?

Should I be putting that line in config-User instead?

Thanks

It’s the only solution.

That option unfortunately would not work in config-user so means you have to keep it in the main config and redo it in case the main config is overwritten by an update

Thank you.