If i buy the Xperia XZ Premium , can i set retroarch to 4K...

Hi guys! If i buy the Xperia XZ Premium , can i set (android) retroarch to use the native 4k resolution of my Xperia XZ Premium ? i dont want retroarch to work in the 1080p upscaled mode of the Xperia XZ Premium. Thanks for answer