Hi RahulShrestha1,
Thank you for reaching out to Microsoft Community.
I'm sorry to hear about the issues you are having on your Surface Pro 7 display. Yes, issue occurring on the UEFI screen confirms that it is a hardware issue but please try to run these steps on your Surface Pro 7 first and observe if still issue persist:
1: Run Surface Diagnostic Toolkit and check Windows Update
2: Update drivers and firmware
Check what is the current OS Build of your Windows version by going to Settings > System > About.
Go to Download driver and firmware for Surface, choose Surface Pro 7 then click Download on the next page.
Choose the .msi file that matches your current OS Build and click Next.
After downloading, run and install the .msi then Restart.
3: Run System File Checker Tool in Windows 10
If still the issue persist, please contact support through our Global Customer Service phone numbers so you could check for replacement options available for your Surface Pro 7.
If this answer your question, we highly encourage you to inform our Community by clicking on Yes or marking my post as an answer. This will help other members who may have the same issue as you. Otherwise, don't hesitate to update us so we can further assist you.
Kind Regards,
Marrion Y.